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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi