private void button1_Click(object sender, System.EventArgs e)
{
foreach(Record r in this.gridGroupingControl1.Table.Records)
{
Console.WriteLine(r.GetValue("Col1"));
}
}
>private void button1_Click(object sender, System.EventArgs e)
>{
> foreach(Record r in this.gridGroupingControl1.Table.Records)
> {
> Console.WriteLine(r.GetValue("Col1"));
> }
>}
>
Private Sub button1_Click(sender As Object, e As System.EventArgs)
Dim r As Record
For Each r In Me.gridGroupingControl1.Table.Records
Console.WriteLine(r.GetValue("Col1"))
Next r
End Sub ''button1_Click
You can loop through the records in GridGroupingControl using the Table.Records collection.
Check the checkbox field for each record, and if it’s unchecked, set its value to true programmatically and refresh the grid to apply the change. For additional insights and different resources, you can also discover more.
Heinrich Klaaseen
Thank you for the suggestion. Please feel free to reach out if you need any further assistance; we will be happy to help.