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

Regarding updation of GGC

Hi All,

I need a help, i using custom record collection as datasource for my GGC, in GGC i have one datasource bounded checkbox column if i change value of checkbox column in datasource then i want update the same in GGC UI but currently not for me.

Please tell me how do i update GGC UI when i change the datasource data.

please reply me as soon as possible because very very urgent for me.

Waiting for your reply...

Thanks and Regards
K.Sathishkumar

1 Reply

AJ Ajish Syncfusion Team August 10, 2007 12:43 AM UTC

Hi Sathish,

This can be done using the following code

DataCollection dc = this.gridGroupingControl1.DataSource as DataCollection;
for(int i = 0;i< dc.Count;i++)
dc[i].Checked = !dc[i].Checked;
this.gridGroupingControl1.Table.TableDirty = true;
this.gridGroupingControl1.Table.EndEdit();
this.gridGroupingControl1.Refresh();

Here is a sample for your reference

Sample: http://websamples.syncfusion.com/samples/Grid.Windows/F67162/main.htm

Kindly take a look and let me know if you need any further assistance.

Regards,
Ajish.

Loader.
Live Chat Icon For mobile
Up arrow icon