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.
Unfortunately, activation email could not send to your email. Please try again.

Hide the text in Group Drop area

Thread ID:

Created:

Updated:

Platform:

Replies:

82371 Jun 10,2009 04:03 PM Jun 15,2009 11:57 AM Windows Forms 2
loading
Tags: GridControl
Alomgir Miah
Asked On June 10, 2009 04:03 PM

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

Lingaraj S [Syncfusion]
Replied On June 13, 2009 02:22 AM

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.

Alomgir Miah
Replied On June 15, 2009 11:57 AM

Thanks,

Worked as expected.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;