Regarding GridGroupingControl datasource update

Hi All,

I am using syncfusion version 4.4.0.51 and .NET 2.0

I have problem in GridGroupingControl while update datasource i need to update one of the check box field of UI should be checked or unchecked but it is not updating

Can you please tell me how do i update UI field?

Thanks and Regards
K.Sathishkumar

1 Reply

J. J.Nagarajan Syncfusion Team August 10, 2007 10:11 PM UTC

Hi Sathish,

You can get the record of the checkboxfield and use the Record.SetValue() method to set the value for the checkbox fields. Please refer the code below.

Record rec = this.gridGroupingControl1.Table.CurrentRecord;
if (rec != null)
{
bool val = (bool)rec.GetValue("Check");
rec.SetValue("CheckColumn", !val);
}

Please let me know if you have any questions.

Regards,
Nagaraj

Loader.
Up arrow icon