This is a migrated thread and some comments may be shown as answers.

[Solved] Style Only One Row - Client Side

0 Answers 49 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Matt
Top achievements
Rank 1
Matt asked on 16 Aug 2011, 03:55 AM
Hi All,

I am trying to style only one row (from the client) of a Grid.

Here is my setup:
I am using Ajax binding to load the initial Grid data.  After that, I am editing all data from the Client side based on events from other controls.  So, a user may click some other control which causes a row to be "highlighted" on my Gird (without ever actually touching the grid).

I did some inspecting (with firebug) and see that the <tr> in the table that gets created does not have an ID or a class (except the alternating row) so I don't see a way to access that <tr> element.  I would like to use jQuery and call the .addClass() and .removeClass() methods on the rows, but I don't quite know how to access them.  At this point I will take any solution ... so, is this something that is possible?

Thanks in advance for any help!
Tags
Grid
Asked by
Matt
Top achievements
Rank 1
Share this question
or