-1

When i check and select a row in ui-grid, only the last selected row is focused (painted with background). Are all rows should be painted by default? thanks

georgeawg
  • 48,608
  • 13
  • 72
  • 95
eladr
  • 343
  • 1
  • 4
  • 18

1 Answers1

0

Only one input element can be focused at any time.

Consider using the :checked pseudo-class:

/* Matches any checked/selected radio, checkbox, or option */
:checked {
  margin-left: 25px;
  border: 1px solid blue;
}

For more information, see

georgeawg
  • 48,608
  • 13
  • 72
  • 95
  • OP also states _"(painted with background)"_, and that could very well be a _row_ with many inputs, it all depends on how things are setup, which makes this answer not very useful and at best a simple guess. Please don't answer such low quality question, when they lack both a proper description and a verifiable sample. – Asons May 05 '19 at 11:33