This is a migrated thread and some comments may be shown as answers.
Change rooms dinamically
2 Answers 7 Views
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 11 Mar 2014, 07:25 PM
Hi!

I'm using the Scheduler, and from a multiselector I want to select the rooms I want to show.

From start, I'm filling the rooms like this:

       resources: [
            {
                field: "roomId",
                name: "Rooms",
                dataSource: jQuery.parseJSON(response).Rooms,
                title: "Room"
            }
        ]

So, inside the change event of the multiselector I want to trigger a change inside the Scheduler to hide or show the rooms selected. How can I do that?

Thanks in advance.
Daniel

2 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 12 Mar 2014, 11:35 AM
Hi Daniel,

You can achieve this by filtering the resource DataSource and refreshing the current selected view. Here you can find a sample page which demonstrates basic implementation of this approach.

Regards,
Rosen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Daniel
Top achievements
Rank 1
answered on 12 Mar 2014, 01:09 PM
Worked! Thanks Rosen!
Asked by
Daniel
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Daniel
Top achievements
Rank 1
Share this question
or