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.

ResetTableDescriptor and filters

Thread ID:

Created:

Updated:

Platform:

Replies:

84451 Jun 30,2009 05:00 PM Jul 9,2009 08:30 AM Windows Forms 3
loading
Tags: GridControl
Stephane _
Asked On June 30, 2009 05:00 PM

Hi,

When I call ResetTableDescriptor() on a GridGroupingControl. I loose the arrow on the dropdown for the filters.

Is there a property I need to set back?

Thanks!

Lingaraj S [Syncfusion]
Replied On July 6, 2009 07:12 AM

Hi Stephane,

Thank you for your interest in Syncfusion product.

The ResetTableDescriptor method is reset the all TableDescriptor collection in GridGroupingControl. The AllowFilter property set in the Column collection, so if you ResetTableDescriptor the AllowFilter property set to false. If you want to clear the specific property in TableDescriptor, the please try using resets methods in TableDescriptor to achieve this behavior. (Eg. ResetRealtions method used to reset the Relation in TableDescriptor).

Refer the code below:
this.gridGroupingControl1.TableDescriptor.ResetRelations();

Please let me know if you have any queries.

Regards,
Lingaraj S.

Stephane _
Replied On July 6, 2009 11:00 AM

Thanks!

Instead of calling:

grid.ResetTableDescriptor()
grid.TableDescriptor.Relations.Reset()

I'm now only calling:

grid.Engine.ResetTable()
grid.TableDescriptor.Relations.Reset()

And it's working.

(I had to reset because of this problem: http://www.syncfusion.com/support/forums/message.aspx?MessageID=80182)

Lingaraj S [Syncfusion]
Replied On July 9, 2009 08:30 AM

Hi Stephane,

Thank you for the update.

Regards,
Lingaraj S.

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.

;