The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
hi friends,
i am using grid grouping control for displaying the nested data from database and i am using checkbox on child table so i want information of all rows which have checked check box in child grid on button click
thanks
ADAdministrator Syncfusion Team April 20, 2006 11:53 AM UTC
Hi,
Could you try this code to get the nested table records in GroupingGrid.Here is a code snippet
GridTableControl tc = this.gridGroupingControl1.GetTableControl( "ChildTable"); //for getting Child table control
string s = string.Empty;
foreach(Record r in tc.Table.Records)
{
object obj = r.GetValue("Check1") ;
if( obj != null && obj.ToString() != string.Empty)
{
bool checkValue = (bool)r.GetValue("Check1");
if( checkValue )
{
s += r.Info + Environment.NewLine;
}
}
}
MessageBox.Show( s , "Checked CheckBox Records");
Here is a sample.
http://www.syncfusion.com/Support/user/uploads/GetNestedTableValue_2338c2ee.zip
Let us know if this helps
Regards,
Haneef