[CLOSED] Gridpanel editalbe cell - select all text of field on cell click

  1. #1

    [CLOSED] Gridpanel editalbe cell - select all text of field on cell click

    Hi
    We have a gridpanel which has some fields / columns marked as editable.
    We want the cell / field content should get selected when user does a click for edit.

    How can we achieve this?
    Last edited by Daniil; Jul 18, 2013 at 6:26 AM. Reason: [CLOSED]
  2. #2
    Hi @PriceRightHTML5team,

    Please use:
    <ext:TextField runat="server" SelectOnFocus="true" />
    http://docs.sencha.com/extjs/4.2.1/#...-selectOnFocus
  3. #3
    Hi Daniil,
    Thanks "SelectOnFocus" property does the needful.

Similar Threads

  1. [CLOSED] the selected combobox text disapear when click other cell?
    By hdsoso in forum 2.x Legacy Premium Help
    Replies: 7
    Last Post: Jul 10, 2013, 12:28 AM
  2. Replies: 1
    Last Post: Jul 10, 2012, 12:16 PM
  3. [CLOSED] How to set color text of the gridPanel cell
    By tactime10 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 19, 2012, 4:49 PM
  4. Replies: 2
    Last Post: Oct 27, 2011, 6:42 AM
  5. [CLOSED] row select and cell click event
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 31, 2009, 10:16 AM

Tags for this Thread

Posting Permissions