Hi,
I have GridGroupingControl that displays or hides child tables based on data in the parent row. This approach was suggested by Haneef and involves using a custom grid grouping engine and setting the table heights to 0.
Refer to my original thread for more information on this approach: http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=45803
This approach works just fine until I set either the ShowAddNewRecordAfterDetails or ShowAddNewRecordBeforeDetails properties. When I set either of these properties to true or false (regardless of the default) none of the child tables are painted. However, I can trace the code and see that the child tables are indeed being set to a visible row height.
I have attached an example solution (WidgetGroupingGridExample) which demonstrates the issue I am experiencing.
The steps to reproduce the issue are as follows:
1) Open the project and notice that the WidgetMaintenanceLog child table has these properties set in its ChildTableDescriptor.TopLevelGroupOptions property.
2) Run the project and click on the "+" for each Widget. When this runs on my system, it does not expand.
3) Now, delete the two lines of code (99 & 100) in the InitializeComponent() of the MainForm.
4) Run the project and click on the "+" for each Widget. The child tables should now expand as expected.
Let me know if you need any further explanation to reproduce my issue.
Thanks,
Scott
WidgetGroupingGridExample.zip