This is a migrated thread and some comments may be shown as answers.

[Solved] Drop Down List Datasource

1 Answer 145 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Markus
Top achievements
Rank 1
Markus asked on 13 Jan 2015, 05:28 PM
Hi

I cannot get my Dropdown List as a filter to work.

http://dojo.telerik.com/ijigO

In above example I can see the "function cityFilter" which has the dataSource field called "cities". If I change "cities" to anything else the example will fail.

I console.log'ed the data which is loaded into the grid, I cannot make any sense how this "cities" datasource comes to be or how I can replicate it with my own data.

Help much appreciated

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 15 Jan 2015, 11:59 AM
Hello Markus,

The "cities" array is loaded from the linked "people.js" script just after the "body" tag in the provided example. For your convenience I created new example where the content of this script is directly loaded on the page:

Also for more information about the dropDownList widget and how to bind data to it you can check the following help article:

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Markus
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or