I am using RichWidgets\List_BulkSelect to select rows in a table. Everything works fine, except for the fact that when the page loads, it adds the css class TableRecords_SelectedLine to all rows.

When i click any of the select buttons the behaviour is normal again and selects only the row where the button is pressed.

When unselecting all the rows it shows the expected behaviour i want on page load:

How do i fix this?


How you add a custom CSS? Because the properties "Selected" is False/True and they change the CSS in every interation of selection/deselection.

You can check in advance properties of row and check, if is true "true_css" of if false "false_css".

Maybe this will help.