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.
ADAdministrator Syncfusion Team December 6, 2006 07:47 AM UTC
Hi ... Sorry for putting an ambiguous question ...
Actually, i dont want to get the value of cell, what i want is ... that when i click on a cell, the text in that cell gets selected like when we double click in a cell, whole of the text gets selected.
ADAdministrator Syncfusion Team December 6, 2006 09:09 AM UTC
Hi Ubaid,
You can access the GridTextBoxCellRenderer and call Select() method to select a portion of text inside TextBoxCell. Here is a code snippet to show this.
//Use this code CellClick event GridCurrentCell cc = this.grid.CurrentCell; cc.MoveTo(e.RowIndex,e.ColIndex); cc.BeginEdit();
GridTextBoxCellRenderer cr = cc.Renderer as GridTextBoxCellRenderer; cr.TextBox.Select(1,5);