// A generic kendo grid which is configurable (function ($) { $.fn.GenericGridPlugin = function (configuration, readData, g_searchPageSize) { $(this).kendoGrid({ editable: false, pageable: true, sortable: true, groupable: true, autobind:false, autoSync: true, selectable: true, columns: configuration.columns, navigatable: true, dataSource: { serverPaging: true, serverSorting: true, transport: { read: readData }, pageSize: g_searchPageSize, schema: { data: function (response) { return response.Result; }, total: function (response) { return response.TotalRecords; } } } }); } }(jQuery));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)