Hi Derrick,
Sorry for the delay in responding.
If your intention is to prevent the Plus/Minus symbol of the Parent table when there is no record in the Child table, it can be achieved by the following code:
[C#]
protected void GridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
{
if (e.TableCellIdentity.TableCellType == GridTableCellType.RecordPlusMinusCell)
{
Record r = e.TableCellIdentity.DisplayElement.ParentRecord as Record;
if (r != null && r.NestedTables.Count > 0 && r.NestedTables[0].ChildTable.FilteredChildNodeCount == 0)
{
e.Style.CellType = "Static";
}
}
}
Please refer the below KB link to get more details and sample which illustrates the above:
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=311If I have misunderstood your requirement, could you please explain me in detail, so that I can work in
depth and try to send a better solution?
Regards,
G.Yavana