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.
How do I select all text in a cell of a child table under a Grid Grouping?
I tried the following without success:
Me.GridGroupingControl1.TableModel.Options.ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll
The action need is when a user clicks on a cell that contains text; all text is selected for editing.
ADAdministrator Syncfusion Team April 11, 2006 05:46 AM UTC
Hi Steve,
The above mentioned code works fine for both parent and child for me in the grid version 4.1.0.62. Try the below code to see if that helps.
Dim gridChildTable As GridTable = Me.GridGroupingControl1.GetTable(childTableName)
gridChildTable.TableModel.Options.ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll
Regards,
Calvin.
SKSteve Killingsworthnolongercoding.NETApril 11, 2006 02:40 PM UTC
It still does not select the text in the cell. Do I need to set anything else to get this to work? I am using grid version 3.3.0.0.
>Hi Steve,
>
>The above mentioned code works fine for both parent and child for me in the grid version 4.1.0.62. Try the below code to see if that helps.
>
>Dim gridChildTable As GridTable = Me.GridGroupingControl1.GetTable(childTableName)
> gridChildTable.TableModel.Options.ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll
>
>Regards,
>Calvin.
ADAdministrator Syncfusion Team April 12, 2006 08:49 AM UTC
Hi Steve,
I have attached a sample that works fine in the grid version 3.3.0.0. Can you see the issue in the attached sample?
Regards,
Calvin.