Dynamically changing the selectable property

2 posts, 0 answers
  1. Richard
    Richard avatar
    5 posts
    Member since:
    Dec 2013

    Posted 19 May 2014 Link to this post

    We need to dynamically change the selectability of the rows in the grid.  When a dropdown outside the grid has a certain value, the selectability of the grid is "row" for single-selection.  For the other value, the selectability is "multiple, row".

    How do I change the selectability dynamically?  

    grid.selectability( (selectedFilter().multiselect == true ? "multiple, row", "row"));
    fails with an error saying it is not a function

    grid.selectability = (selectedFilter().multiselect == true ? "multiple, row", "row");
    has no effect.

    Thanks,
    Rod Early
    McKesson Corp.

  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2156 posts

    Posted 20 May 2014 Link to this post

    Hi Rod,


    Currently this functionality is not supported. If you consider that run-time changing of the selection type is a feature that should be implemented in the Grid, you could post it in the Kendo UI Feedback portal. If it becomes popular among the community, we may consider to implement it in future versions of the Grid.


    Regards,
    Dimiter Madjarov
    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
Back to Top