BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
I'm going through the same experience. I would like to loop through the whole Gridgroupingcontrol obtaining certain fields . The Gridgroupingcontrol is connected to a list. I am using Entity Framework to return the data list. Can anyone help?
Hi Rem/Sergio,
Thank you for your interest in Syncfusion Products.
In order to get the particular value of a record in column wise, you
can use GetValue() of record class(by
passing the column name) in TableModel_SelectedRecordsChanged
event. Please refer the below code snippet for further clarification.
Code Snippet[C#]:
foreach
(GridRangeInfo range in gridGroupingControl1.TableModel.SelectedRanges)
{
if (range.IsRows)
{
for (int i =
range.Top; i <= range.Bottom; i++)
{
Record rec =
gridGroupingControl1.Table.DisplayElements[i].GetRecord();
string colvalue = rec.GetValue("column name").ToString();
}
}
}
Please let us know if you have any other concerns.
Thanks & Regards,
AL.Solai.
Hi Rem/Sergio,
Thank you for your update.
We are glad to hear from you that your scenario is resolved.
Please let us know if you need further assistance on this. We will assist you as early as possible.
Regards,
Neelakandan