-
20 Feb 2012 6:53 AM #1
Unanswered: colorize selected rows
Unanswered: colorize selected rows
Hey,
I have a Grid with a SelectionModel, which is limited of 2 selections. How can I colorize the selected rows? every selected row in a other color?
-
20 Feb 2012 7:21 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,581
- Vote Rating
- 433
- Answers
- 3100
You can add a CSS class to a selected row.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
20 Feb 2012 7:40 AM #3
Do you want both selected rows to be the same color as each other or in two different colors?
-
20 Feb 2012 7:43 AM #4
And than I must refresh the grid?
@skirtle: in two different colorsCode:grid.getView().refresh();


Reply With Quote