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,
I have a button column on my databound grid that when pushed I retrieve the row and column index to print a related document. The problem is that I am using Me.Grid.CurrentCell to get the current row index, if the user doesnt click somewhere else in the row before clicking the button then the currently selected cell is the top row causing the wrong document to be printed.
Is there a way I can detect the row at which the current button is being clicked or move the selcted row immeadiatly the button is clicked?
Thanks, Mark (vb.net)
ADAdministrator Syncfusion Team August 2, 2004 02:36 PM UTC
Are you handling the grid.CellButtonClicked event to get the click on the cell. If so, the e.RowIndex value should hold the row index of the clicked cell.