0
我試圖做一個ajax批量更新而不啓用Kendo網格中的InCell編輯。我想允許用戶選擇一堆行,然後將它們標記爲特定狀態(從下拉列表中選擇),然後執行批量更新。有沒有辦法讓我可以通過自定義工具欄操作當前選定的網格項目?例如:Kendo批量更新沒有Incell編輯
@(Html.Kendo().Grid<Grid>().Name("Grid")
.DataSource(ds => ds
.Ajax()
...
)
.ToolBar(toolbar => toolbar.Custom().Action("Grid_Update", "Sessions", new {sessionId = ViewBag.SessionID, cycles = **selectedGridItems**}))
)