Hi Strife,
Thank you for bringing this issue to our attention.
When the datasource of GGC is empty and setting the ShowCaption="False" in UI, the page will throw a erro as "object is null"I am able to see the issue of that you have mentioned here. The issue mentioned here is suspected to be a defect and we have sent this to our development team for more analysis.To facilitate tracking the progress of the fix, and timely resolution, we request you to create an incident with subject "a bug about the TopLevelGroupOptions of GGC - 70924" in our incident database Direct Trac.
However you can workaround this issue by setting the TopLevelGroupOptions with ShowCaption property in code behind side. . The following code snippet is used to achieve this behavior.
if (GridGroupingControl1.Table.Records.Count != 0)
{
GridGroupingControl1.TopLevelGroupOptions.ShowCaption = false ;
}
Kindly have a look at the sample in the below link which implements the above work around:
http://websamples.syncfusion.com/samples/Grid.Web/5.2.0.25/70924/main.htm
Please let me know if you have any concerns.
Regards,
Vishnu.