Help with Array in GridView

2 posts, 0 answers
  1. Emmanuel
    Emmanuel avatar
    1 posts
    Member since:
    Mar 2014

    Posted 13 Mar 2015 Link to this post

    Hi, I have this data {make: "Toyota", model: "Prius", fuel: ["Petrol", "Electric"] } (JSON for simple view) and a want show it on GridView Fuel column, with both data (Petrol and Electric) and make filterable, showing that model in the petrol selection and in the electric selection.

    Sorry about my English.

    Thanks in advance.
  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 17 Mar 2015 Link to this post


    You can create a custom column or you can also check our online documentation on defining CellTemplate/CellEditTemplate for a reference.

    As to the filtering, please note it is a data operation which means it is done by building and executing a LINQ query appending proper Where clause over the source collection. Please check our online documentation where the filtering is explained in details. If you have a custom content for the column, then you can consider specifying a proper FilterMemberPath to be filtered on.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top