I have following grid structure
$("#statisticsGrid").jqxGrid({
height: 200,
width:'99%',
columns: [
{ text: 'ID', datafield: 'personID', width: '10%' }, //this ID is unique
{ text: 'Person', datafield: 'personName', width: '20%' },
{ text: 'Distance Passed', datafield: 'distance', width: '23%' },
{ text: 'Avg speed', datafield: 'avg', width: '23%' },
{ text: 'Max Speed', datafield: 'max', width: '23%' }
]
});
everything’s fine, grid is created and I create rows for some number of persons. Now after some while I receive new data for a person with ID 123456. I process this data and now I want to modify corresponding row for this person with ID 123456.
Question is, how can I get this row?
Of course I can get all rows and iterate through them until I find the right row, but I think, that this might be slower with large number of rows.