Categories | Question details Back To List | ||
only select checkbox in dhtmlxGrid page Hello, To get checheked box in dhtmlxGrid , i use this : var list = grid.getCheckedRows(0); But this get also rows on an other pages when i use paging. So how i could select only rows on the page? Answer posted by Support on Nov 06, 2008 01:44 Next code can be used var pos = mygrid.getStateOfView(); var start = pos[1]; var end = pos[2]; var checked=[]; for (var i=start; i<end; i++) if (this.cells2(i,INDEX).getValue()==1) checked.push(mygrid.getRowId(i)); |