1. #1
    Sencha User
    Join Date
    Jul 2010
    Location
    XiaMen China
    Posts
    29
    Vote Rating
    0
    aimer311 is on a distinguished road

      0  

    Default selectText doesn't work when start editing in a EditorGrid in IE or Chrom

    selectText doesn't work when start editing in a EditorGrid in IE or Chrom


    I want to select all the text when start editing a EditorGrid cell, like this,
    I found selectOnFocus and selectText fn in TextField,so I add this code
    Code:
    ed.field.selectText()
    in the end of startEditing fn in EditorGrid,but not all the filed inherits from textfield,so I also try
    Code:
    ed.field.dom.select()
    .ok,all the codes are working fine in firefox,but not in IE and Chrome,When I use the TAB to change the cell,It will call onBlur fn,So the cell can't keep in editing.

    anyone can help?thanks in advance.

  2. #2
    Sencha User
    Join Date
    Jul 2010
    Location
    XiaMen China
    Posts
    29
    Vote Rating
    0
    aimer311 is on a distinguished road

      0  

    Default


    any suggestion is appreciated!

  3. #3
    Sencha User
    Join Date
    Jul 2010
    Location
    XiaMen China
    Posts
    29
    Vote Rating
    0
    aimer311 is on a distinguished road

      0  

    Default


    no one face this issue?

  4. #4
    Sencha User
    Join Date
    Jul 2010
    Location
    XiaMen China
    Posts
    29
    Vote Rating
    0
    aimer311 is on a distinguished road

      0  

    Default


    ok,I add all field with selectOnFocus=true.

  5. #5
    Sencha User
    Join Date
    Sep 2012
    Posts
    1
    Vote Rating
    0
    selami32 is on a distinguished road

      0  

    Default thank you

    thank you


    i was looking for this selectOnFocus:true worked on thanks mate

Similar Threads

  1. Replies: 4
    Last Post: 16 Sep 2010, 10:48 AM
  2. editorgrid in formpanel: forcefit doesn't work
    By Bionique in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 19 Jun 2008, 2:54 AM
  3. [SOLVED] DnD and EditorGrid doesn't work???
    By cowabunga1984 in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 10 Jan 2008, 1:03 AM

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar