Skip to content

Grouping not working #17

@eloyrubio

Description

@eloyrubio

When trying to do serverside grouping I get the following JS error:

kendo.all.js:69687 Uncaught TypeError: Cannot read property 'length' of undefined
    at init._rowsHtml (kendo.all.js:69687)
    at init._groupRowHtml (kendo.all.js:69772)
    at init._renderContent (kendo.all.js:70517)
    at init.refresh (kendo.all.js:70340)
    at init.e (jquery-3.1.1.min.js?v=HPMOWdIdSuVgr3FD9ZE-_MgiK8qk_MdQjrgCtfqp6U4:2)
    at init.trigger (kendo.all.js:164)
    at init._process (kendo.all.js:7994)
    at init.success (kendo.all.js:7690)
    at success (kendo.all.js:7581)
    at Object.n.success (kendo.all.js:6452)

That's the datasource:


 var dataSource = {
            schema:
            {
                data: "Data",
                total: "Total",
                aggregates: "Aggregates",
                groups: "Groups",
                errors: "Errors"
            },
            transport: {
                read: {
                    url: 'xxx',
                    dataType: 'json',
                    contentType: 'application/json; charset=utf-8',
                    type: 'POST'
                },
                parameterMap: function (data) {
                    return JSON.stringify(
                        {
                            dataSourceRequest: data                         
                        });
                }
            },
            pageSize: 50,
            serverPaging: true,
            serverFiltering: true,
            serverSorting: true,
            serverGrouping: true
        }

I'm using Kendo.DynamicLinqCore 3.1.1 and Telerik.UI.for.AspNet.Core 2020.3.1021. Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions