onRowSelect Not Attaching to First Row

I’m attaching the event onRowSelect to my grid, and it works for almost every row. However, it doesn’t attach to the first row. Not only that, when I resort my grid, the first row still doesn’t have the event applied.

For instance, when I first load the grid, there are three rows, ‘foo’, ‘bar’, and ‘baz’. ‘bar’ and ‘baz’ have the onRowSelect event applied, but ‘foo’ does not. Even when I change the grid sorting (without reloading the grid), ‘foo’ still doesn’t have the onRowSelect event attached.

Please be sure that each row, including the problematic one, has unique not empty id.
Row without id, or with non-unique id can ignore selection