Text selection disable.

14 posts, 0 answers
  1. Efi
    Efi avatar
    6 posts
    Member since:
    Jun 2012

    Posted 13 Jul 2014 Link to this post

    After usage of a grid in our page all text selection is disabled.
    you can test this out in "http://demos.telerik.com/kendo-ui/grid/selection" by trying to select the header after selecting a row in the grid.

    step by step:
    1 - open page.
    2 - try select the text(for example the "Grid / Selection" header, with the mouse) - the text can be selected.
    3 - click on some row in the grid.
    4 - try select the text(for example the "Grid / Selection" header, with the mouse) - the text can NOT be selected. from this step NONE of the text in the page cannot be selected.
  2. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 15 Jul 2014 Link to this post

    Hello Efi,

    This issue has already been fixed and changes will take effect in the Q2 release, which is due this week.

    http://demos.telerik.com/kendo-ui/beta/grid/selection

    Regards,
    Dimo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Efi
    Efi avatar
    6 posts
    Member since:
    Jun 2012

    Posted 15 Jul 2014 in reply to Dimo Link to this post

    can you point us to a fix we can do in code? (patch)

    we cannot wait with the new version release + testing time that will be required when we upgrade kendo.

    thank you!
  5. Efi
    Efi avatar
    6 posts
    Member since:
    Jun 2012

    Posted 15 Jul 2014 in reply to Dimo Link to this post

    can we see the code that solves this issue?

    we cannot wait another week for release + testing on our end..

    thank you!
  6. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 15 Jul 2014 Link to this post

    Hello Efi,

    I am not able to provide isolated code of the discussed fix, but you can download the latest Kendo UI internal build (2014.1.624) from your account. It also works as expected.

    Regards,
    Dimo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  7. Efi
    Efi avatar
    6 posts
    Member since:
    Jun 2012

    Posted 15 Jul 2014 in reply to Dimo Link to this post


    what is the URL for Kendo UI internal build (2014.1.624) ?
  8. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 16 Jul 2014 Link to this post

    Hello Efi,

    Latest internal builds are accessible via "Products & Subscriptions" at telerik.com. Please refer to the screenshot.

    Regards,
    Dimo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  9. Marina
    Marina avatar
    9 posts
    Member since:
    Feb 2015

    Posted 30 Jun in reply to Dimo Link to this post

    We're using the latest Kendo UI version, and we're still seeing the same bug.

    When multiple selection is enabled, it is impossible to select the text in the table.

    We've tested this on Chrome, FireFox and IE, all with the same result.

  10. Marina
    Marina avatar
    9 posts
    Member since:
    Feb 2015

    Posted 30 Jun in reply to Dimo Link to this post

    We're using the latest build, and it's still not working. It's simply impossible to select the text in the grid if multiple selection (of any kind) is enabled.

    We're tested this on IE, Chrome and FF, with the same results in all of them.

     

  11. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 01 Jul Link to this post

    Hello Marina,

    The originally discussed issue in this thread is different.

    Text selection in a Grid with multiple selection enabled is unfortunately not supported, because the Grid cannot know if the user wants to select text or select rows, when a dragging gesture starts.

    If text selection is required, please consider using alternative row selection techniques, for example checkboxes:

    http://docs.telerik.com/kendo-ui/controls/data-management/grid/how-to/Selection/grid-selection-checkbox

    Regards,
    Dimo
    Telerik
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  12. Marina
    Marina avatar
    9 posts
    Member since:
    Feb 2015

    Posted 03 Jul in reply to Dimo Link to this post

    Unfortunately, this is not an acceptable solution for us. We require normal row selection (i.e. by clicking the row), as well as multiple row selection using the modifier keys (Ctrl, Shift).

    What we don't require (or need in fact) is selection by dragging. Therefore, if you provide a way to disable selection by dragging it should solve our problem (since then text can be copied).

  13. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 04 Jul Link to this post

    Hello Marina,

    In this case, please execute the following after Grid initialization.

    var uv = $("#Grid-ID").data("kendoGrid").selectable.userEvents;
    uv.unbind("start");
    uv.unbind("move");
    uv.unbind("end");
    uv.unbind("select");

    Note that when using Shift+Click to select multiple rows, the browser will also display text selection inside the selected rows.

    Regards,
    Dimo
    Telerik
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  14. Marina
    Marina avatar
    9 posts
    Member since:
    Feb 2015

    Posted 09 Aug in reply to Dimo Link to this post

    We tried that, but it caused a bug with inline editing. Clicking outside an inline editor closed the editor but did not accept the value anymore. We suspect that it's due to the removal of the "select" listener.

    Can you please check that ? Thanks

  15. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 09 Aug Link to this post

    Hello Marina,

    I am not sure I understand what the problem is. Do you observe it on the following example? If yes, please outline the exact steps to perform.

    http://dojo.telerik.com/abiKAh

    Regards,
    Dimo
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
Back to Top
Kendo UI is VS 2017 Ready