How to Customize layout on SfDataGrid

I have pattern like this



And this is mine when using SfDataGrid



Can i customize SfDataGrid like that pattern ? 

1 Reply

KK Karthikraja Kalaimani Syncfusion Team April 10, 2020 04:58 AM UTC

Hi Kien,

Your requirement can be achieved by using the QueryCellStyle event. In QueryCellStyle event we can set the background color and foreground color of the cells based on ColumnName. For more details please refer to the below UG link.

UG link : https://help.syncfusion.com/xamarin/datagrid/conditional-styles#how-to-style-a-particular-column

Regards,
Karthik Raja
 


Loader.
Up arrow icon