1

これは私の剣道グリッドコードです。列にデータが表示されますが、これだけです。データの並べ替えやフィルタリングができません。「作成」は私の行動であり、利益はコントローラーです。私が欠けているものは何ですか

 @(Html.Kendo().Grid(Model)    
        .Name("Grid")
        .Columns(columns =>
        {
            columns.Bound(model=> model.IdCategory.Name).Groupable(false);
            columns.Bound(model=> model.Value);
            columns.Bound(model => model.Description);
            columns.Bound(model => model.DateInput);
        })
        .Groupable()
        .Pageable()
        .Sortable()
        .Scrollable()
        .Filterable()
        .DataSource(dataSource => dataSource
            .Ajax()
            .Read(read => read.Action("Create", "Profit"))
        )
        )
4

1 に答える 1

1

ブラウザ開発ツールでJavaScriptエラーがないか確認してください。一般的なJavaScriptエラーのリストがあります:http ://docs.kendoui.c​​om/getting-started/troubleshooting#javascript-error-that-kendo-widgets-are-unavailable-or-undefined

さらに、グリッドのトラブルシューティングを確認してください:http ://docs.kendoui.c​​om/getting-started/using-kendo-with/aspnet-mvc/helpers/grid/troubleshooting

于 2013-03-12T05:47:45.467 に答える