View Full Version : [CLOSED] GridPanel CellEditing highlight

Nov 12, 2013, 10:26 AM
Is there a way to highlight/select all the characters in a cell?

After adding a new record to my store at position 0, I perform:

App.GridPanel1.editingPlugin.startEditByPosition({ row: 0, column: index});

I would also like to highlight all the characters in the cell.

Nov 12, 2013, 10:37 AM
I found the attribute SelectOnFocus the can be defined on field for the editor, but I do not want this to occur whenever I enter the cell for all the rows.

I would like to programitcally perform it only after the startEditByPosition call.

Nov 12, 2013, 11:10 AM
Hi Chris,

There is the selectText method.

Nov 12, 2013, 11:32 AM
Looks great, exactly what I needed. I was thinking about a function on the cell, but obviously it is a function on the Textfield editor.

Please close the thread.