We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Hide the text in Group Drop area

Hi,

I have a very simple query. In GridGroupingControl, I have ShowGroupDropArea = true. The problem is that the table(DataTable) name appears in the drop area as well. Is there a way to hide it? I looked through most of its properties without any success. Any help is appreciated.

Thanks,
Alomgir

2 Replies

LS Lingaraj S Syncfusion Team June 13, 2009 06:22 AM UTC

Hi Alomgir,

Thank you for your interest in Syncfusion product.

The GridControl does not have default property for hide the GroupDropArea Text, it can be done through the hide columns. Please try using HideCols property in the GroupDropAreaModel to achieve this behavior.

Please refer the code below:

In C#
this.gridGroupingControl1.TableModel.GroupDropAreaModel.HideCols[2] = true;
In VB
Me.gridGroupingControl1.TableModel.GroupDropAreaModel.HideCols(2) = True


Let me know if you have any queries.

Regards,
Lingaraj S.


AM Alomgir Miah June 15, 2009 03:57 PM UTC

Thanks,

Worked as expected.

Loader.
Live Chat Icon For mobile
Up arrow icon