Filter dropdownlist selection values on the client side

2 posts, 0 answers
  1. Bob
    Bob avatar
    138 posts
    Member since:
    Sep 2012

    Posted 20 Nov 2012 Link to this post

    I wonder if it is possible to filter the selections of a drop down list on the client side. I need to do this dynamically since the DDL is used in a grid.

    Basically, the idea is to remove hide items in the drop down that have been selected in the other rows of the grid. There is a small data set here, so I don't want to do a read each time.

    I don't see any event that fires prior to dropdown either.

    So, what event fires prior to dropdown? Also, can I prevent dropdown if some condition is meet?

    thanks...

  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 21 Nov 2012 Link to this post

    Hello Bob,

     
    I will suggest you check this jsFiddle demo, which shows how to filter a dropdownlist on some condition.

    Could you please clarify what "So, what event fires prior to dropdown?" and "can I prevent dropdown if some condition is meet?" means?

    You can check the supported events of the DropDownList here.


    Regards,

    Georgi Krustev
    the Telerik team
    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