This is a migrated thread and some comments may be shown as answers.

Problem Kendo UI Grid taghelper

1 Answer 299 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Creegfire
Top achievements
Rank 1
Creegfire asked on 13 Feb 2018, 12:47 PM

Hello,

I'm currently facing a problem with the ASP.NET Core Grid using the tag structure. My grid has the following structure:

<kendo-grid name="someGrid" deferred="true">
    <datasource page-size="20" type="DataSourceTagHelperType.Ajax" server-operation="false" server-grouping="false">
        <transport>
            <read url="some url" type="post"/>
        </transport>
        <sorts>
            <sort field="Id" direction="asc"/>
        </sorts>
    </datasource>
    <pageable button-count="5" refresh="true" page-sizes="new int[] { 5, 10, 20, 50 }"/>
    <filterable enabled="true"/>
    <scrollable enabled="true"/>
    <sortable enabled="true"/>
    <groupable enabled="false"/>
    <columns>
        <column field="Id" title="Id"/>
        <column field="Name" title="Name"/>
    </columns>
</kendo-grid>

An error occur in kendo.all.min.js (kendo.all.js) where it is executing the function _isServerGrouped(). In that particular function it tries to execute the function this.group() only that function does not exist. Did I forget to include something or is this a bug in the Grid using the taghelper? Even when server-grouping is set to false it is still trying to execute that particular function this.group() before it is going to check if the server-grouped is used or not (see image).

The back-end receives the appropriate call from the grid and is sending simple data as a JSON format back to the front-end (I've followed the example on the following page(s): https://docs.telerik.com/aspnet-core/helpers/tag-helpers/grid and https://demos.telerik.com/aspnet-core/grid/tag-helper).

Kendo-UI version: https://bower.telerik.com/bower-kendo-ui.git#~2018.1.131 (private repository)
asp.net core version: 2.0

Thank you in advance.

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 16 Feb 2018, 11:43 AM
Hi,

I have tested the same exact configuration by modifying our online demo but was not able to reproduce the described behavior as you can see from this video. Can you please open a formal support ticket and attach a sample which we can debug there.

Regards,
Angel Petrov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Creegfire
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or