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.
Is it possible to access the underlying control for a particular cell after the cell has been rendered?
For example, if I am using a CellType of "TextBox", is there a way to get a reference to the underlying RichTextBox control for a particular cell? Also, if there is a way, will this also work for a cell in a virtual grid?
Thanks for your help.
Matt
ADAdministrator Syncfusion Team June 15, 2004 06:38 PM UTC
It really depends upon the cell type whether you can get the embeeded control or not. But for CellType == "TextBox", you can use this code to get it.
GridTextBoxControl tb = this.gridDataBoundGrid1.CurrentCell.Renderer.Control as GridTextBoxControl