ejs-grid row background color only for focused row

Hi,

i have a grid with checkboxes, and at the moment every row that is marked has a background color set.

Image_8829_1719326266588

https://stackblitz.com/edit/github-qogmn1?file=src%2Fmain.ts


Is there a possibility that only the the row with focus has a background color and all the other rows have a white background color, like in this screenshot?

Image_3143_1719326206126


Regards,

Matthias Wagner


1 Reply

VS Vikram Sundararajan Syncfusion Team June 28, 2024 09:32 AM UTC

Hi Matthias Wagner,


Greetings from Syncfusion support,


Based on your query about applying the background color only to the current focus row, we require additional information for further validation. Kindly provide the following details:


  1. Do you want only the row with focus to have a background color, while all other rows stay white, even if their checkboxes are selected?
  2. Should the checkbox state (checked/unchecked) remain unchanged regardless of the row's background color change?
  3. Can you provide specific use cases where this functionality is crucial?
  4. How do you want the grid to handle the deselection of rows? Should the background color reset to white as soon as the checkbox is unchecked?
  5. While resetting the row background color, should the checkbox state remain checked and the row selection be maintained or not?
  6. How should the grid behave when selecting the "Select All" checkbox?
  7. Could you please share a video demo with an explanation of your requirements in detail? This will help us understand your needs better and ensure we provide the right solution.


We appreciate your cooperation in providing us with the requested information, as it will help us provide a more effective solution to your query.


Regards,

Vikram S


Loader.
Up arrow icon