PDA

View Full Version : GridPanel Selected cell CSS ?



Vikram
16 Feb 2016, 6:38 AM
Hello there,

I am using Extjs 4.2 version. I wanted to know that how can we show the border of the selected grid panel cell ? I have multiple displays so i need common change.

I tried below css code but its visible on hover. I wanted that the selected cell remain select with border until another one not selected.



.x-grid-cell:hover
{
border: solid 2px red !important;
}



For reference please check the screen below:

54032



with regards
vik

Gary Schlosberg
16 Feb 2016, 12:42 PM
Can you utilize the selectedItemCls config?
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.grid.View-cfg-selectedItemCls