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.

Lost runtime ability to use ''Group Drop Area''

Thread ID:

Created:

Updated:

Platform:

Replies:

37009 Nov 14,2005 03:57 PM Nov 15,2005 08:27 AM Windows Forms 3
loading
Tags: GridControl
Greg Patterson
Asked On November 14, 2005 03:57 PM

I''ve only been working with your control for a little over a week and I seem to have lost the ability to group by or move columns at runtime. Are there any settings I have missed or a property I have changed that could be causing this? I''ve included a project with just the control on a form so you can see everything I have changed. Also, I have tried using the following line to hide the DateRange column, but it has no affect: this.gcEmailGrouping.TableModel.HideCols["DateRange"] = true; Any help would be greatly appreciated.

GridGroupingControlTest.zip

Administrator [Syncfusion]
Replied On November 14, 2005 06:00 PM

I think the reason you cann drag the columns is this preoperty setting you have: this.gcEmailGrouping.TableOptions.AllowDragColumns = false; What version of our library are you useing? Your code: this.gcEmailGrouping.TableModel.HideCols["DateRange"] = true; is working for me with version 3.3. The daterange column does not show up when I run your sample. Another way you can hide a column is to call: this.gcEmailGrouping..TableDescriptor.VisibleColumns.Remove("DateRange);

Greg Patterson
Replied On November 15, 2005 08:01 AM

Thanks Clay for the quick response... it was the AllowDragColumn property and I can''t believe I missed it. I have been using the VisibleColumns.Remove method in the constructor for the control because I couldn''t get the TableModle.HideCols to work. I think that''s why "DateRange" wasn''t showing up for you in the sample. The end results are similar, but I would prefer to leave the column in the VisibleColumns collection if possible. I''m also using version 3.3. Thanks again for the great support.

Administrator [Syncfusion]
Replied On November 15, 2005 08:27 AM

Try setting this.gcEmailGrouping.TableDescriptor.Columns["DateRange"].Width = 0;

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.

;