This is a migrated thread and some comments may be shown as answers.

Highlight text in radgrid batch edit cell

1 Answer 170 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sathesh
Top achievements
Rank 1
sathesh asked on 29 Sep 2016, 09:15 AM

I am trying to highlight text in radgrid batch edit cell using javascript, but i have set focus for the cell and i am unable to highlight the text .

Please give me some suggestion.

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 04 Oct 2016, 05:52 AM
Hello Sathesh,

The input text should be partly selected when the cell is opened in edit mode:
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx

For opening the cell manually using a javascript approach, you can use the openCellForEdit method:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/data-editing/edit-mode/batch-editing/client-side-api

Regards,
Eyup
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Grid
Asked by
sathesh
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or