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.
I use the GridGroupingControl. That grid has four hierarchy tables, each table opens its child table. I raised the TableControlCellClick event, to get the selected record through the 'e' event args, as follows:
Record r = e.TableControl.Table.CurrentRecord;
This property supports only a situation when you click a cell of table in focus. But if you click a cell in a table that is not in focus- the e.TableControl.Table.CurrentRecord is null!
(For example: If the seccond table is in focus, and the user clicks the third table- the 'e.TableControl.Table.CurrentRecord' is null!)
How can I get the current selected record even if the user clicked a cell that is not in a table that was in focus?
JJJisha Joy Syncfusion Team January 22, 2010 09:22 AM UTC
Hi Yocheved,
Thank you for using Syncfusion products. You could refer the following sample from our sample browser, that shows how you can retrieve the values of the current element and the current cell in a Grid Grouping control.
C:\Documents and Settings\[UserName]\My Documents\syncfusion\essentialstudio\7.4.0.20\Windows\Grid.Grouping.Windows\Samples\2.0\Grouping Architecture\Access Current Element-Cell Demo\cs
Please let me know if you have any further queries