Apply Filter on Dynamic Grid

2 posts, 0 answers
  1. asif
    asif avatar
    9 posts
    Member since:
    Jul 2012

    Posted 09 Jan 2017 Link to this post

    Requirements

    Telerik Product and Version

    Version 2014

    Supported Browsers and Platforms

    Google chomre

    Components/Widgets used (JS frameworks, etc.)

    asp.net mvc

    Hi,

    I have a grid  and binded it like this

     

        @(Html.Kendo().Grid<dynamic>()
                                .Name("GridCostTiers")

     .Columns(columns =>
                                {

                                            columns.Bound(gridColumn.field).Title(gridColumn.caption).Visible(gridColumn.visible).Width(BusinessManager.GetColumnWidth(gridColumn.field, gridColumn.width));

    }

     

    I want to Apply filter on this grid, when Allied filter, filter doesnot working any  one can please guide how i can enable filter on .

     

    if grid is not dynamic ,Applied filer working fine.

    Thanks,

     

  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    2466 posts

    Posted 09 Jan 2017 Link to this post

    Hi,

    Please refer to the following HowTo example for binding to dynamic type:
    Note that you need to specify all fields in the DataSource with the corresponding data type.

    On a side note, please use the appropriate channels for asking technical questions. The "Code Library" section is for examples only and it should not be used for technical questions.


    Regards,
    Konstantin Dikov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top