1. #1
    Sencha User
    Join Date
    Aug 2011
    Location
    China
    Posts
    31
    Answers
    1
    Vote Rating
    0
    kyousuke is on a distinguished road

      0  

    Question Unanswered: grid CellEditing plugin

    Unanswered: grid CellEditing plugin


    demo http://jsfiddle.net/kyousuke_rin/fBAgE/
    Please run the demo and double click the son column. When the cell is edit state, it show [Object Object]. It is not what I want. When exit edit it resume correctly in IE but wrrong in chrome.


    Orginally I didn't want to edit value in cell, so you can see I have set the readOnly:true attribute. It can't select the text in grid with extjs4. I just want to use CellEditing plugin to be able to select the text in grid.

  2. #2
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,732
    Answers
    33
    Vote Rating
    104
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default


    If you don't want users to edit, I'd not use the cell editor at all. Instead look at removing the DOM/CSS properties making the text unselectable. Firebug is your friend

    From StackOverflow:

    In most browsers, this can be achieved using CSS:

    *.unselectable {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    }

    For IE and Opera, you will need to use the unselectable expando property of the element you wish to be unselectable. You can set this using an attribute in HTML:

    <div id="foo" unselectable="on" class="unselectable">...</div>

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Location
    China
    Posts
    31
    Answers
    1
    Vote Rating
    0
    kyousuke is on a distinguished road

      0  

    Default


    Quote Originally Posted by mankz View Post
    If you don't want users to edit, I'd not use the cell editor at all. Instead look at removing the DOM/CSS properties making the text unselectable. Firebug is your friend

    From StackOverflow:
    Thanks!

    I want the text can be selectable in grid. Is there any good idea to do it with 4.02a?

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