1. #11
    Ext User angelflaree's Avatar
    Join Date
    Jan 2008
    Posts
    64
    Vote Rating
    0
    angelflaree is on a distinguished road

      0  

    Default


    I'm not sure about which css is applied that disable the selection.

    I am using the row selection model and I use Inspect function in the Firebug, see the class for a cell's inner text is using the css:

    x-grid3-cell-inner x-grid3-col-NN (NN is the column number of that cell)

    Then I add:
    Code:
    "-moz-user-select: text;
        
     -moz-user-focus: normal;"
    to the 'x-grid3-cell-inner' css definition.

    But still not able to highlight the cell and select the text.

    ANYONE Know the CSS please help
    good good study,
    day day up ; )

  2. #12
    Sencha User
    Join Date
    Feb 2008
    Posts
    156
    Vote Rating
    1
    WixSL is on a distinguished road

      0  

  3. #13
    Sencha User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    867
    Vote Rating
    1
    micgala is on a distinguished road

      0  

    Default


    This a GXT forum guys... not ext-js....

  4. #14
    Ext GWT Premium Member
    Join Date
    Mar 2009
    Posts
    226
    Vote Rating
    3
    The_Jackal is on a distinguished road

      0  

    Default


    I added the following code so that clicking a button selects / highlights the whole grid and then you can use the browser's copy function (menus or ctrl-c)

    Code:
        
        public void selectForCopy()
        {   
             El el = grid.getView().getScroller().getParent();
             selectElement(el.dom);
         }
    The selectElement method creates ranges for W3C compliant browsers or IE
    See:
    http://www.quirksmode.org/dom/range_intro.html
    http://help.dottoro.com/ljgbbkjf.php
    http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx


    Code:
         
    private static native void selectElement(Element element)/*-{
        if  ($wnd.getSelection) // W3C
        {
            var range = $doc.createRange();
            range.selectNodeContents(element);
            $wnd.getSelection().addRange(range);
        } 
        else if  ($doc.selection) // IE
        {
            var range =  $doc.body.createTextRange();
             range.moveToElementText(element);
            range.select();
       }
    
    }-*/;

  5. #15
    Sencha User
    Join Date
    Mar 2011
    Posts
    19
    Vote Rating
    0
    dhruv88esh is on a distinguished road

      0  

    Default This solution working for all browsers

    This solution working for all browsers


    grid.disableTextSelection(false);

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