Well, I need the caption to be turned on if the table has child records.
Using the code snippet with a couple of changes I was able to turn off the +/- in the puchbutton cell, but that didn't get rid of the entire caption row alltogether (which is what I want).
I'll keep playing with the code though..
>First comment is that you can turn off that caption line for all nested tables (whether or not they are empty) by setting:
this.gridGroupingControl1.NestedTableGroupOptions.ShowCaption = false;
Here is a forum thread that discusses how not to display the +/- cell for empty nested tables so your user cannot expand them (and hence the caption line is never visible).
http://www.syncfusion.com/Support/Forums/message.aspx?&MessageID=53637If you really want to selectively just hide the caption row, then you would have to use a custom grouping engine which is sort of a big change to your application if you are not already using one for some reason. Here is a thread that has a sample where you can set rowheights to zero but it does require a custom engine.
http://www.syncfusion.com/Support/Forums/message.aspx?&MessageID=37998