Hi Arif,
Thank you for posting query to us.
It is possible to show the text in the Row Header of the currently selected rows by handling the events TableControlCellDrawn and TableModel.SelectionChanged of GridGroupingControl.
Here is the code snippets:
void TableModel_SelectionChanged(object sender, GridSelectionChangedEventArgs e)
{
this.gridGroupingControl1.Refresh();
}
void gridGroupingControl1_TableControlCellDrawn(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlDrawCellEventArgs e)
{
GridRangeInfoList list = gridGroupingControl1.TableModel.Selections.Ranges;
foreach (GridRangeInfo range in list)
{
if (e.Inner.RowIndex >= range.Top && e.Inner.RowIndex <= range.Bottom)
{
if (e.Inner.ColIndex == 0)
{
e.Inner.Graphics.DrawString("*", new Font("Aerial", 10), Brushes.Red, e.Inner.Bounds.Location);
e.Inner.Cancel = true;
}
}
}
}
Please refer the sample in the link to illustrate this:
http://websamples.syncfusion.com/samples/Grid.Windows/69490/main.htmPlease try this and let me know if this helps.
Regards,
Jisha