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.
JJJisha Joy Syncfusion Team March 6, 2009 05:36 AM UTC
Hi Alexey,
The information about the current record is retrieved by capturing the element that is shown at the current mouse position.
Here is a sample code snippet.
Point pt = this.gridGroupingControl1.TableControl.PointToClient(Control.MousePosition);
if (this.gridGroupingControl1.TableControl.ClientRectangle.Contains(pt)) { Element el = this.gridGroupingControl1.TableControl.PointToNestedDisplayElement(pt); if (el != null) { Record r = el.GetRecord(); if (r != null) this.lblElement.Text = r.ToString(); else this.lblElement.Text = el.ToString(); } }
Please see the following sample from our sample browser. ..\My Documents\Syncfusion\EssentialStudio\7.1.0.30\Windows\Grid.Grouping.Windows\Samples\2.0\Grouping Architecture\Access Current Element-Cell Demo\cs