|108507||Apr 24,2013 02:53 PM||Apr 25,2013 06:00 AM||WPF||1|
Thanks for using Syncfusion products.
We have analyzed your query, you can achieve your requirement by enabling ShowRowHeader API as true and you can set the row numbers in the row header by handling QueryCellInfo event. You can handle event inside a Behavior in MVVM pattern.
GDC.Model.QueryCellInfo += new GridQueryCellInfoEventHandler(Model_QueryCellInfo);
void Model_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
var style = e.Style as GridDataStyleInfo;
if (style.CellIdentity.TableCellType == GridDataTableCellType.RowHeaderCell)
e.Style.CellValue = e.Style.CellRowColumnIndex.RowIndex;
We have prepared a sample based on your requirement and attached it in the following location.
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.