Datagrid select radio button


I have a possible issue when we use the dataGrid.getCheckedRows(0); command with radio buttons. The radio button is returned correctly but we think the dhtmlx script keeps iterating through all of the rows of the grid even after it has found a checked radio button.
This can slow our system down when we have a large grid with thousands of rows.

If this is what is happening, is there a way of stopping the iteration of all rows when a selected radio button is found?


By default getCheckedRows() iterate through only visible rows. If you filter grid and call getCheckedRows() method it will iterate only through filtered rows.

Will this be faster? It still means iterating through all of the rows in order to filter the non checked radio buttons first.