Unplanned
Last Updated: 14 Dec 2022 11:00 by GL
GL
Created on: 14 Dec 2022 11:00
Category: UI for ASP.NET MVC
Type: Feature Request
1
Add support for groupPaging with web api in WebApiDataSourceRequestModelBinder

Currently, the groupPaging is not supported and is missing in WebApiDataSourceRequestModelBinder, thus enabling groupPaging leads to undesired behavior with the following Grid configuration:

 $("#grid").kendoGrid({ 
        dataSource: { 
          type: "webapi", 
          pageSize: 50, 
          page: 1, 
          groupPaging: true, 
          total: 0, 
          serverPaging: true, 
          serverSorting: true, 
          serverFiltering: true, 
          serverGrouping: true, 
          serverAggregates: true, 
          group: { 
            field: "SomeText", 
            dir: "desc"
          }, 
          transport: {
            read: "Url..." 
          }, 
          schema: { 
            data: "Data", 
            total: "Total", 
            errors: "Errors", 
            model: { 
              id: "SomeId", 
              fields: { 
                SomeId: { type: "number" }, 
                SomeText: {type: "string" }, 
                SomeDate: { type: "date" } } } } }, 
        sortable: true, 
        filterable: true, 
        pageable: true, 
        columns: [ { field: "SomeId"}, { field: "SomeText"}, { field: "SomeDate"} ] 
      });


 

0 comments