jqgrid click select all, but not all of them selected -


i use jqgrid multiple selection. when clicked select multiple rows data, not of them automatically checked. wrong this?

if grid has 1 row, select works.

the root reasons there duplicated row id in json data. following example show there exists duplicated row id 2 , 3. 1 first of duplicated row id selected when select all.

{"page":"1","total":"1","records":"10","rows":[ {"id":"10","cell":["firstaceha","evebdfg","5","10","2000-01-30","12:30","notesss"]},{"id":"9","cell":["firstaceh","evebdfg","7","9","2000-01-30","12:30","notesss"]},

{"id":"2","cell":["firsta","eve","1","2","2000-01-30","12:30","notesss"]},{"id":"2","cell":["firsta","eve","9","2","2000-01-30","12:31","notesss"]},

{"id":"3","cell":["firsta","eveb","6","3","2000-01-30","12:30a","notesss"]},{"id":"2","cell":["firsta","eve","8","2","2000-01-30","12:30ab","notesss"]},

{"id":"2","cell":["firsta","eve","2","2","2000-01-30","12:30a","notesss"]},{"id":"3","cell":["firsta","eveb","10","3","2000-01-30","12:30aa","notesss"]},

{"id":"3","cell":["firsta","eveb","4","3","2000-01-30","12:30","notesss"]},{"id":"1","cell":["first","eve","3","1","2000-01-30","12:30","notesss"]}]}


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -