Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Manoj Kumar on Mar 05, 2009 22:54
open dhtmlx forum
Is there any function which can check existence of particular rowId in grid?

Is there any function which can check existence of particular rowId in grid?

Can you also provide some document which can state all supported methods of grid.


Thanks
Manoj K.
Answer posted by dhxSupport on Mar 06, 2009 01:33

You can use ind=mygrid.getRowIndex(row_id). If current grid hasn't row with such row id, ind variable will be undefined. 

You can find all avalible grid's API methods here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/alpha.html#grid_api_a