This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes JQ Grid checkbox and pagination error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JQ Grid checkbox and pagination error" Watch "JQ Grid checkbox and pagination error" New topic

JQ Grid checkbox and pagination error

Nagendra Shastry

Joined: Oct 26, 2010
Posts: 19

First of all sorry to post this here. I know this is not forum for jquery. I googled a lot on my problem and put my questions in jquery forums but didn't get solution. So I am posting it here hoping I may get a solution.

In a jqgrid, I have checkboxes in each row and i have a master checkbox at the column header. I want to catch the check event of the checkbox which is present in each row. I added the logic in loadComplete method. It worked fine.(Checkbox event handling). But it gives problem in pagination. I am unable to paginate. If I remove loadComplete method, pagination works fine. Is there any other way to get the checkbox check event from jqgrid columns or any solution to pagination with loadComplete method ?

This is my loacomplete method.

loadComplete: function(){
var v=progAccessSearchResults.rows.length;
var count=0;
if(count==v-1 ){

Checkbox in jqgrid is

{name:'checkbox',index:'checkbox', sortable:false, hidden : adminHide, align:"center", width: 80, resizable: false }
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: JQ Grid checkbox and pagination error
It's not a secret anymore!