want to display all but a specific firm on the dropdown

2 posts, 0 answers
  1. Padam
    Padam avatar
    1 posts
    Member since:
    Dec 2014

    Posted 26 Jan 2015 Link to this post

    function ConfirmMigrate(e){
                    var dataItem = this.dataItem($(e.currentTarget).closest("tr"));
                   // var name = dataItem.SubscriberFirmName;
                    var dropDown = $("#Subscribers").data("kendoDropDownList");
                    var itemToRemove = dropDown.dataSource.at(0);// displays all but the first Subscriber.
    I would like to display all but a specific firm on the dropdown. In my case it would be the name.
    At the moment , drop down displays all but first subscriber on the table but I would like to pass the name of the firm as a parameter  and do not include the name in the drop down.  
  2. Kiril Nikolov
    Kiril Nikolov avatar
    2598 posts

    Posted 28 Jan 2015 Link to this post

    Hello Padam,

    If you want to remove an item from the dataSource, you can do it like this:


    Kiril Nikolov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top