Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Styling selected row in ListGrid

$
0
0
I want to draw a border around selected row of ListGrid. Is it possible to achieve that usuing API of ListGridRecord or css styling?

I tried to define "customStyle" attribute for selected ListGridRecord, but this style become applied to every cell in ListGridRecord and I get a border around each cell of listGridRecord.
Code:

.myStyle {
  border:2px solid #a0a0a0;
}

listGridRecord.setAttribute("customStyle", "myStyle");


v9.0_2013-07-03/LGPL Development Only (built 2013-07-03)

Viewing all articles
Browse latest Browse all 4756

Trending Articles