How to hide or remove the table name displayed in the GroupDropArea in WinForms GridGroupingControl?
Hide the table name
By default, the table name is displayed at the top left corner of the GridGroupDropArea when the data source of the WinForms GridGroupingControl has a table name.
Solution
The table name can be hidden/removed from the GridGroupDropArea in the following ways.
1. By setting the TableDescriptor name to an empty.
2. By customizing the GridGroupDropArea’s column width.
By using
the TableDescriptor
this.gridGroupingControl1.TableDescriptor.Name = string.Empty;Me.gridGroupingControl1.TableDescriptor.Name = string.EmptyCustomizing
the GridGroupDropArea’s Column width
The table can be hidden/removed by setting the column width of the table name cell to 0 by using the QueryColWidth event of the GridGroupDrop area.
//Triggers the QueryColWidth event in Form()
this.gridGroupingControl1.GridGroupDropArea.Model.QueryColWidth += new Syncfusion.Windows.Forms.Grid.GridRowColSizeEventHandler(Model_QueryColWidth);
//Handles the QueryColWidth event
void Model_QueryColWidth(object sender, Syncfusion.Windows.Forms.Grid.GridRowColSizeEventArgs e)
{
//Hides the DataSource table name
if(e.Index == 2)
{
e.Size = 0;
e.Handled = true;
}
}'Triggers the QueryColWidth event in Form()
AddHandler Me.gridGroupingControl1.GridGroupDropArea.Model.QueryColWidth, AddressOf Model_QueryColWidth
'Handles the QueryColWidth event
Private Sub Model_QueryColWidth(ByVal sender As Object, ByVal e As Syncfusion.Windows.Forms.Grid.GridRowColSizeEventArgs)
' Hides the DataSource table name
If e.Index = 2 Then
e.Size = 0
e.Handled = True
End If
End SubThe screenshot below displays the hiding/removing of the tablename in the group drop area.

Samples:
C#: Hiding_the_Table_name_in_GridGroupDropArea_CS
VB: Hiding_the_Table_name_in_GridGroupDropArea_VB
Conclusion
I hope you enjoyed learning how to hide or remove the table name in WinForms GridGroupingControl.
You can refer to our WinForms GridGroupingControl’s feature tour page to know about its other groundbreaking feature representations. You can also explore our WinForms GridGroupingControl documentation to understand how to present and manipulate data.
For current customers, you can check out our WinForms components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our WinForms GridGroupingControl and other WinForms components.
If you have any queries or require clarifications, please let us know in comments below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!