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.
HAhaneefm Syncfusion Team August 30, 2007 12:43 AM UTC
Hi Edijs,
One you can do this by handling the MouseDown event and call CurrentCell.Validate() method to validate PushButton cell in a Grid. Here is a code snippet that shows this task.
void gridControl1_MouseDown(object sender, MouseEventArgs e) { GridControl _grid = sender as GridControl; GridCurrentCell _gCurrentCell = _grid.CurrentCell; int _irowIndex, _icolIndex; bool _bisInsideGrid = _grid.PointToRowCol(new Point(e.X, e.Y), out _irowIndex, out _icolIndex); if (_bisInsideGrid && ( _gCurrentCell.RowIndex != _irowIndex || _gCurrentCell.ColIndex != _icolIndex ) ) { if (_grid.Model[_irowIndex, _icolIndex].CellType == "PushButton") { _gCurrentCell.Validate(); } } }