Dynamic DataSource Filtering

2 posts, 0 answers
  1. Adhip
    Adhip avatar
    5 posts
    Member since:
    Aug 2016

    Posted 26 Sep 2016 Link to this post

    Now I am creating a page with a few asp .net mvc components such as bar chart, pie chart etc. Now I want to filter all of the datasource's in these components after selecting a specific value from the set of values in the listview that are being displayed on the side of the page using the script given below. 

    function onChange(arg) {
            var selected = $.map(this.select(), function(item) {

    So I essentially want to filter all the components in the page using a value from the list.

    Can someone show me how this is done using an example?


    Thanks & Regards,


  2. Ianko
    Ianko avatar
    1935 posts

    Posted 28 Sep 2016 Link to this post

    Hello Adhip,

    This can be accomplished by getting the client-side references of the chart widgets and filtering the exposed datasource objects by using the filter method.

    If you have difficulties on implementing that, please provide a simple, locally runnable solution of the configuration you have in order to define what the situation is.

    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top