Categories | Question details Back To List | ||
how to get index of first row in grid hi, I have used numbers 0,1,2,.. to set the values of row id in a grid mygrid.setRowId(ind, row_id); now I am calling some custom row manipulation functions on grid, where I am not able to get a row index for zero th row ie. first row of grid.. I am using mygrid.getRowIndex(mygrid.getSelectedId()); api.. This happens for zeroth row only otherwise for all other rows , I am getting row index.. Answer posted by Support on Nov 10, 2008 09:34 The ID == 0 is reserved for virtual root item, it can't be used as row ID ( same as null, false, undefined values ) |