When i filter Name to show the filter error can not read propery "0" of undefined
My Code
--------------------
public TestViewModel { public int Id {get; set;} public string Name {get; set;} public string Type {get; set;} }
<ejs-grid id="Grid" dataSource="@Model.TestViewModel" allowPaging="true" allowGrouping="true" allowExcelExport="true" enablePersistence="true" allowSelection="true" allowSorting="true" allowFiltering="true" allowTextWrap="true" contextMenuClick="ContextMenuEditClicked" contextMenuItems="contextMenuItems" > <e-grid-filterSettings type="Menu" ></e-grid-filterSettings> <e-grid-textwrapsettings wrapMode="Content"></e-grid-textwrapsettings> <e-grid-groupSettings showDropArea="true" columns="@(new string[] {})"></e-grid-groupSettings> <e-grid-selectionsettings enableSimpleMultiRowSelection="true" type="Multiple" mode="Both"></e-grid-selectionsettings> <e-grid-pagesettings pageSize="10" pageSizes="true" /> <e-grid-columns> <e-grid-column type="checkbox" width="40px"></e-grid-column> <e-grid-column field="Id" isPrimaryKey="true" visible="false"></e-grid-column> <e-grid-column field="Name" headerText="Name"></e-grid-column> <e-grid-column field="Type" headerText="Type" ></e-grid-column> </e-grid-columns> </ejs-grid> </div>
out put
-------------------