if (e.TableCellIdentity.TableCellType == GridTableCellType.RecordPlusMinusCell)
{
Element cell = e.TableCellIdentity.DisplayElement;
Record r = cell.ParentRecord as Record;
bool makeStatic = true;
if (r != null && r.NestedTables.Count > 0)
{
foreach (NestedTable nt in r.NestedTables)
{
if (nt.ChildTable.GetFilteredRecordCount() != 0)
makeStatic = false;
}
}
if (makeStatic)
{
e.Style.CellType = "Static";
e.Style.Borders.Bottom = new GridBorder(grid.TableModel.Options.DefaultGridBorderStyle, SystemColors.GrayText);
}
}
Hello Sir
I there any way to hide the nested empty table from gridgrouping control
Hello Sir
I there any way to hide the nested empty table from gridgrouping control