Chronicling my journey and discoveries in cutting-edge software development. Here, I share practical knowledge and solutions, focusing on Ruby on Rails, Node.js, and JavaScript, alongside explorations into Kubernetes, distributed systems, and latest web technologies.
DHTMLX Grid - Load data from server with Pagination
Get link
Facebook
X
Pinterest
Email
Other Apps
These codes will help for Dynamic loading of data with Pagination in DHTML Grid
For Truncating String I have used 'truncate' rails helper method. limiting to 10 characters truncate("im srikanth glad to meet you", 10) >> "im srik..." For HTML stripping, I have used gsub.. str.gsub(/ ]*>/, "")
I got this error while installing Rest client perl module $ HOME=/tmp /home/perl/5.10/bin/cpanm REST::Client ! Finding REST::Client on cpanmetadb failed. ! cannot open file '/tmp/.cpanm/sources/http%www.cpan.org/02packages.details.txt.gz': No such file or directory opening compressed index ! Couldn't find module or a distribution REST::Client Solution: The problem is because of "LWP::Protocol::https" module. Removing the directory worked for me. $ cd /perl_installed_path/perl/5.10/lib/site_perl/5.10.1 $ rm –rf LWP* or try with option "--no-lwp" cpanm REST::Client --no-lwp
Comments