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.

Forcing grouped grid to rebind

Thread ID:

Created:

Updated:

Platform:

Replies:

33563 Aug 22,2005 11:51 PM Aug 26,2005 02:44 AM Windows Forms 3
loading
Tags: GridControl
Damien Sawyer
Asked On August 22, 2005 11:51 PM

Hi, I have a grouped grid that is grouping on the status of a bool/checkbox. Can someone please tell me how to get it to refresh? This will cause items to move between the groups as their flags change. Thanks very much in advance, Damien Sawyer

Administrator [Syncfusion]
Replied On August 23, 2005 01:17 AM

Hi If you provide additional information , it would be easy for me to work on it. Do you like to group based on the checkbox value? If so ,where should be checkbox? Is it a column in grid or seperate control on the form? Regards Mouli.

Damien Sawyer
Replied On August 26, 2005 12:33 AM

Hi, Sorry for being vague Mouli, Yes - I am grouping on the checkbox value. The checkbox is one of the columns in the grid. It has been set as a checkbox by the following code... GridColumnDescriptor gcd = new GridColumnDescriptor(..... gcd.Appearance.AnyRecordFieldCell.CellType = "CheckBox"; I Hope that this is enough information. Thanks very much for your help. Damien Sawyer >Hi > If you provide additional information , it would be easy for me to work on it. Do you like to group based on the checkbox value? If so ,where should be checkbox? Is it a column in grid or seperate control on the form? > >Regards >Mouli. >

Administrator [Syncfusion]
Replied On August 26, 2005 02:44 AM

The default behavior is for the change to take place and the item change groups when you leave the record. If you want it to happen immediately, then you can handle the TableControlCheckBoxClick event. There you can set a slight delay so the click can finish, and then end the edit so the groups are reset. Here is a little sample that worked for me in the 3.3RC. http://www.syncfusion.com/Support/user/uploads/GGC_Bool_1a8268c4.zip

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.

;