Changing styles in a Data Grid

George Amend shared this question 5 years ago
Answered

I have a Data Grid embedded in a dynamic panel. The user selects an item to retrieve information. The remaining Data Grid items remain visible. When selected the background color of the item changes and additional related data is shown in adjacent screen. How to you have the style remain constant until the user either selects another item or continues on to the next page? Currently the style either can't change ending up with multiple items selected or changes when "Mouse Leaves".

Comments (5)

photo
1

Take a look at this mini tutorial:


https://www.justinmind.com/usernote/p...

photo
1

Victor, When I attempt to connect to your tutorial I get this. "You do not have permission to perform this operation." I am logged into Usernote and Get satisfaction both.

photo
1

Sorry, wrong link. This is the correct one http://www.justinmind.com/usernote/te...

photo
1

I am confused, this seems to work for a DataList component but not for a DataGrid

photo
1

You're right - you'll need to use a different method for a DataGrid. Check out the attached prototype to see how to do this:

photo