javascript - ng-Grid allow the selection to show when a row is selected that is using a rowTemplate -
Is there a way to allow selection to show selection when a row is selected which is using the row template?
I tried to set the .ngRow.selected
background color as Important
but it does not seem to work. Is there any other way?
This is probably not the most beautiful way, but your line template for the selected class
ng-square = "{selected: row selected, green: row.getProperty (\ 'age \')
and then update your css:
.ngRow Selected (background color: blue! Important;}
Here is a display plunker:
Comments
Post a Comment