Hi Gkrish,
One way you can do this by handling the SelectedRecordChnaging event of the grid and set e.Cancel to true for inner most child table(child records). Here is a code snippet.
this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended;
this.gridGroupingControl1.SelectedRecordsChanging +=new SelectedRecordsChangedEventHandler(gridGroupingControl1_SelectedRecordsChanging);
private void gridGroupingControl1_SelectedRecordsChanging(object sender, SelectedRecordsChangedEventArgs e)
{
if( e.Action == SelectedRecordsChangedType.Added )
{
if( e.SelectedRecord != null && e.SelectedRecord.Record.NestedTables.Count == 0 )
e.Cancel = true;
}
}
Please refer to the attached sample for implementation.
Excel Export.zipBest Regards,
Haneef