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
close icon

ResetTableDescriptor and filters

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!

3 Replies

LS Lingaraj S Syncfusion Team July 6, 2009 11:12 AM UTC

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.


S_ Stephane _ July 6, 2009 03:00 PM UTC

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)


LS Lingaraj S Syncfusion Team July 9, 2009 12:30 PM UTC

Hi Stephane,

Thank you for the update.

Regards,
Lingaraj S.

Loader.
Live Chat Icon For mobile
Up arrow icon