AD
Administrator
Syncfusion Team
October 3, 2006 07:17 AM UTC
Hi Vitaliy,
Try these code in TableControlCellClick event and let me know if this helps.
int row = e.Inner.RowIndex;
int col = e.Inner.ColIndex;
GridTableCellStyleInfo style = e.TableControl.Model[row,col] as GridTableCellStyleInfo;
Element el = style.TableCellIdentity.DisplayElement;
if(el.Kind == DisplayElementKind.Summary && el.ParentGroup != null)
{
foreach(Record rec in el.ParentGroup.Records )
{
e.TableControl.Table.SelectedRecords.Add(rec);
}
}
Thanks,
Haneef