Title: Get row index using a field value in datagrid Post by: contestant on April 07, 2015, 09:44:11 AM hello
How get row index using a field value in datagrid? Tanks ;) Title: Re: Get row index using a field value in datagrid Post by: stworthy on April 07, 2015, 06:08:54 PM You can call 'getRowIndex' method to get the special row index. This method accepts an id field value as its parameter value. Before calling it the 'idField' property must be set.
Code: var dg = $('#dg').datagrid({ Title: Re: Get row index using a field value in datagrid Post by: contestant on April 08, 2015, 05:34:10 AM Thanks for your answer, But there is another problem on this solution...
I use draggable datagrid rows, So if I set idField and dragg row, after drop it, It will move into target row and hide it. There is way to stop moving rows in together as a tree node?! Thanks again |