This question is locked. New answers and comments are not allowed.
I'm implementing client-side highlighting of a row by adding a "Selected" property to the objects I bind to, and then implementing onRowDataBound like so:
This works as expected, except when I have grouping enabled. In this case, item.row seems to point to the wrong row - the grouping rows mess things up.
In the attached image, the 4th row should be highlighted, but the third row is actually highlighted.