ajax dataSource を使用して KendoUI Grid を生成しています。テーブルが生成され、デフォルトではクラスがありません。サイトの他の部分との統一感を保つために、「インタラクティブ」なクラスを追加したいと思います。
$("#pending_documents").kendoGrid({
dataSource: {
transport: {
read: "/get-data?type=1"
},
schema: {
data: "data",
total: "total"
},
pageSize: 2,
serverPaging: true,
serverFiltering: true,
serverSorting: true,
reorderable: true
},
height: 500,
filterable: {
extra: false
/*
, ui: "datetimepicker" // use Kendo UI DateTimePicker
*/
},
sortable: true,
pageable: {
pageSize: 2 },
columns: [...]
});
});
グリッドが生成された後に実行するメソッドを使用してこれを実行できることはわかっていますJQuery.addClass()
が、グリッドのセットアップ/構成で設定する方法はありますか?
前もって感謝します。