Hybrid View

    You found a bug! We've classified it as EXTGWT-3436 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium Member
    Join Date
    Jul 2011
    Location
    Arizona
    Posts
    64
    Vote Rating
    0
    jdkida is on a distinguished road

      0  

    Default Unable to text select a single column in row grid.setAllowTextSelection

    Unable to text select a single column in row grid.setAllowTextSelection


    When i try to highlight a single piece of data in a grid it always highlights the entire grid from the bottom to the point im trying to select. I remember grid.setAllowTextSelection worked as expected in GXT 2.x . Is there a workaround? My users need to be able to copy and paste a single column from a row in a grid.

    Thanks

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    276
    Vote Rating
    8
    branflake2267 will become famous soon enough

      0  

    Default


    Which version of GXT?

  3. #3
    Sencha Premium Member
    Join Date
    Jul 2011
    Location
    Arizona
    Posts
    64
    Vote Rating
    0
    jdkida is on a distinguished road

      0  

    Default


    I am on 3.0.6, i would assume it exists in 3.0.1 also.

  4. #4
    Sencha - GXT Dev Team
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    276
    Vote Rating
    8
    branflake2267 will become famous soon enough

      0  

    Default


    Thanks, I'll investigate shortly and get back with more soon.

    Brandon

  5. #5
    Sencha - GXT Dev Team
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    276
    Vote Rating
    8
    branflake2267 will become famous soon enough

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

    I was able to set allow text selection although the behavior wasn't quite like I expected, so I'm filing a bug for additional review. I found the text could be selected although once the mouse was release the selection vanished.

    grid.setAllowTextSelection(true);

    Brandon

  6. #6
    Sencha Premium Member
    Join Date
    Jul 2011
    Location
    Arizona
    Posts
    64
    Vote Rating
    0
    jdkida is on a distinguished road

      0  

    Default


    Hi Brandon, this was not exactly the behavior I experienced, However I recently discovered when using Chrome as the browser the text selection works as expected. When using Firefox 25.1 (Debian OS) when I would try to select in a piece of text in a column of the grid, the selection would not stop at where I started my click+drag, the selection instead would continue all the way to the bottom of the grid. Almost as if it thought my click+drag started at the bottom right corner of the grid, and continued all the way to where ever my mouse pointer was.I do not recall having any trouble with the text staying highlighted though, what browser were you testing in? It appears there may be different behavior depending on the browser, as i stated before it appears to work as expected when using Google Chrome.

  7. #7
    Sencha - GXT Dev Team
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    276
    Vote Rating
    8
    branflake2267 will become famous soon enough

      0  

    Default


    Thanks for providing more information.

    Brandon

  8. #8
    Sencha Premium Member
    Join Date
    Jul 2011
    Location
    Arizona
    Posts
    64
    Vote Rating
    0
    jdkida is on a distinguished road

      0  

    Default Available Workaround

    Available Workaround


    Colin was able to locate a workaround for me.

    by overriding the GridView focus()
    Code:
    grid.setView(new GridView<Model>() {
        @Override
        public void focus() {
            focusImpl.focus(focusEl);
        }
    });

  9. #9
    Sencha - GXT Dev Team
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    276
    Vote Rating
    8
    branflake2267 will become famous soon enough

      0  

    Default


    Cool. Thanks for sharing.

    Brandon

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