Grid

How to show color circle in each grid rows?



1 Reply 1 reply marked as answer

VS Vignesh Sivagnanam Syncfusion Team March 11, 2021 12:03 PM UTC

Hi vin 

Greetings from Syncfusion support 

Based on your screenshot we found that you want to render the color sphere in the column. So, we have prepared a sample and in this sample we render the div element using the column template feature and provide the color to each row regarding the value of the cell using the EJ2 grid queryCellInfo event.  

The queryCellInfo event will be triggered before the cell is appended to the grid and it is used to access the every cell element, data in the grid.  

Please refer the below sample for your reference, 



Regards 
Vignesh Sivagnanam 


Marked as answer
Loader.
Up arrow icon