Hi Sim,
Thank you for your interest in Syncfusion products.
There is no direct way to swap row headers.But it can be achieved by handling the event PrepareViewStyleInfo in GriddataBoundGrid and swaping the Cellvalues of row headers.
Here is the code snippets:
void gridDataBoundGrid1_PrepareViewStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.GridPrepareViewStyleInfoEventArgs e)
{
if (e.RowIndex == 0 && e.ColIndex > 0)
{
e.Style.CellValue = gridDataBoundGrid1[1, e.ColIndex].CellValue;
}
if (e.RowIndex == 1 && e.ColIndex > 0)
{
e.Style.CellValue = gridDataBoundGrid1[0, e.ColIndex].CellValue;
}
}
Please refer the sample in the link to illustrate this:
http://websamples.syncfusion.com/samples/Grid.Windows/68582/main.htmPlease try this and let me know if you have any questions.
Regards,
Jisha