Hi Danilo,
Thanks for using Syncfusion products,
You can use Syncfusion
GridGroupingControl for unbound mode.
You can add the unbound column using UnboundFields property from GridTableDescriptor class. if you want to save the values in unbound column you can use theSaveValue and QueryValue event.
Refer to the following code example.
//Add the UnboundFields in GridGroupingControl
this.gridGroupingControl1.TableDescriptor.UnboundFields.Add("UnboundField");
void TableDescriptor_SaveValue(object sender, FieldValueEventArgs e)
{
if (e.Field.Name == "UnboundField") //&& RecordIndex >= 0)
{
UnboundValues[e.Record.Id] = e.Value;
}
}
void TableDescriptor_QueryValue(object sender, FieldValueEventArgs e)
{
if (e.Field.Name == "UnboundField")
{
e.Value = UnboundValues[e.Record.Id];
}
}
|
Sample:
CS588448740
We have published KB article to this,
please refer to the following KB documents.
https://www.syncfusion.com/kb/5942
https://www.syncfusion.com/kb/725
Regards,
Mahendran.A