How to keep my row selection in my data grid?

Hey,

I am using a Form with a Data Grid that displays a report. When I select one of the rows, it highlights blue. Then, when I hover over other rows the blue highlight goes to the hovered row instead of my selected row. How can I change this highlighting?

Thank you!

Comments

  • Thank you for using the Decisions Forums!

    Inside the Report on your Advanced Data Grid, select “Specified” for the Grid Settings inside the Grid View header. From here, you can select the “Selected Rows Style" to “Row Background” which will retain some highlighting on the selected row.

    In addition, if you would like to further customize the highlight color for the selected row, here is the CSS class and some example code for the selected row on the report inside the advanced data grid.

    .dp-gridview .dp-report-grid-viewer__row-holder--selected {
      background-color: yellow;
    }

    Report Configuration


    Report CSS Configuration (displayed using a CSS runtime browser tool)

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion