Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JQ Grid checkbox and pagination error

Nagendra Shastry
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 }
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic