Hybrid View

  1. #1
    Ext User
    Join Date
    Jul 2008
    Posts
    202
    Vote Rating
    0
    eugenparaschiv is on a distinguished road

      0  

    Default How to enable text selection (and copy-paste) in Grid

    How to enable text selection (and copy-paste) in Grid


    I know there is no Java method to do this (there should be, I'm sure that adding a few methods for the most common functionality will not bloat the class but will add value to it), so I'm asking: how do I enable this from CSS. I read the post over at the EXT JS forum but the solutions there did not work. So what styles do I need to modify (.x-grid3-row, .x-grid3-cell-text, .x-grid3-hd-text, .x-grid3-hd, .x-grid3-row?) to enable this. I guess that the attributes to add are simply:
    -moz-user-select: text;
    -khtml-user-select: text;
    but where.
    Anybody knows CSS? I'm sure I can figure this out eventually but still, I don't really want to dig to deep into CSS.

    Thanks.
    Eugen.

  2. #2
    Ext User
    Join Date
    Jul 2008
    Posts
    202
    Vote Rating
    0
    eugenparaschiv is on a distinguished road

      0  

    Default


    Any answer to this? Perhaps a Grid tutorial with these simple functionalities explained? And in the mean time, how do I enable text selection in a grid?

  3. #3
    Ext User
    Join Date
    Apr 2009
    Posts
    7
    Vote Rating
    0
    avi.moram is on a distinguished road

      0  

    Default


    Hi eugenparaschiv,

    Did you achieve this, this happens in Firefix that too only for EditorGrid, where EditorTreeGrid text selection works fine. I have tried all the forums suggested solutions like moz-user-select and all. But nothing seems to be working.

    Thanks,
    Avi

  4. #4
    Ext User burn's Avatar
    Join Date
    Mar 2007
    Location
    Italy
    Posts
    69
    Vote Rating
    0
    burn is on a distinguished road

      0  

    Default


    This works just fine

    Code:
    .x-grid3-row td,
    .x-grid3-summary-row td,
    .x-grid3-cell-text,
    .x-grid3-hd-text,
    .x-grid3-hd,
    .x-grid3-row {
        -moz-user-select: text !important;
        -khtml-user-select:  text !important;
    }

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

      0  

    Smile Copy text from grid

    Copy text from grid


    Thanks Burn,
    Your solution is working great

  6. #6
    Sencha User
    Join Date
    Jan 2012
    Location
    Ahmedabad, Gujarat, India
    Posts
    1
    Vote Rating
    0
    Cole001 is on a distinguished road

      0  

    Default


    Hello,

    Please note that there was a solution in the forum below
    http://forums.silverlight.net/forums/p/17483/58189.aspx
    which I tried but it doesnt work with my current senerio. It works fine AutoGenerateColumns propertry set to True but doesnt work with AutoGenerateColumns = false.
    Hope i'll get a solution for this.

    Thanks and regards
    Jacob

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