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

Apply Filter on Dynamic Grid

1 Answer 408 Views
Grid
This is a migrated thread and some comments may be shown as answers.
asif
Top achievements
Rank 1
asif asked on 09 Jan 2017, 11:59 AM

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,

 

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 09 Jan 2017, 12:55 PM
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.
Tags
Grid
Asked by
asif
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or