-
3 Sep 2012 1:07 AM #1
Unanswered: Apply background color to selected row..
Unanswered: Apply background color to selected row..
I want to apply background color to selected row, ".X3-grid-row-selected" this is default css class.
I dont want use that,please tell me that how can I apply css class to selected row.
Please provide solution as early as possible.
Thanking You
-
3 Sep 2012 2:18 AM #2Sencha - Community Support Team
- Join Date
- May 2012
- Location
- Istanbul
- Posts
- 1,331
- Vote Rating
- 76
- Answers
- 124
Hi,
You can use following code:
you can define a class rowColor and give color accordingly your choice
Code:Ext.fly(yourgrid.getView().getRow(rowindex)).addClass('rowColor');sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.


Reply With Quote