Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
141568 | Dec 18,2018 02:22 PM UTC | Dec 26,2018 04:14 PM UTC | WinForms | 3 |
![]() |
Tags: SfDataGrid |
Query |
Solution | |
Is there a way to access the RowHeader CellInfo for a specific (RowIndex) row or for any cell for that matter? |
It is not possible to access the row header cell information for a specific row or cell without using any DrawCell event. You can achieve your requirement to add icon on the row header using the DrawCell event or by creating custom row header cell renderer.
You can refer the below UG link to customize the row header.
| |
Is there a way to trigger an DrawCell event for a specific cell or row? |
DrawCell event will be raised every time while drawing each cells in the DataGrid. It cannot be triggered for any specific cell or row. You can perform any action while drawing a specific row or cell by using DrawCellEventArgs.RowIndex and DrawCellEventArgs.ColumnIndex properties as given in the following code example.
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.