Change the color of the entire row as red when there is a duplicate row in the grid

1 Answer 67 Views
Grid
Abhishek
Top achievements
Rank 2
Iron
Iron
Iron
Abhishek asked on 18 Dec 2023, 06:39 AM
I want to show a particular row in red color when  same records exists in some other row.  I using inline editing.

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 18 Dec 2023, 09:13 AM

Hi Abhishek,

You can refer to the following help article and the custom styling of the rows using the rowRender:

You can add your custom logic that determines if the row should be red within the rowRender by checking if the current dataItem value exist in the previously rendered items.

Hope this helps.

 

Regards,
Konstantin Dikov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Tags
Grid
Asked by
Abhishek
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Konstantin Dikov
Telerik team
Share this question
or