Telerik Forums
Kendo UI for jQuery Forum
3 answers
1.9K+ views

Currenty i'm using kendo grid server site pagination and there is a problem with page size property. When i choose page size 'all' then i check request body on the web browser and i don't see pageSize property  but when i choose 50 page size everything is OK.

{skip: 0, page: 1, sort: [{field: "Id", dir: "desc"}]} --> page size ALL

{skip: 0, pageSize:50,  page: 1, sort: [{field: "Id", dir: "desc"}]} --> page size 50

 

 

 

 var dataSource = new kendo.data.DataSource({
            type: "json",
            ...
            batch: false,
            pageSize: 20,
            serverPaging: true,
            serverFiltering: true,
            serverSorting: true, 
            schema: {
                data: "Data",
                total: "Total",
                errors: "Errors",
                model: {
                    id: "Id",
                    fields: fieldsCommon
                }
            }
        });

        var masterGrid = $("#" + divId).kendoGrid({
            dataSource: dataSource,
            edit: function (e) {

            },
            save: function (e) {
                kendo.ui.progress($(".k-window"), true);
            },
            groupable: true,
            sortable: true,
            pageable: {
                pageSizes: ['all', 10, 20, 50, 100],
                refresh: true,
                buttonCount: 5
            },
            selectable: true,
            height: 450,
            reorderable: true,
            resizable: true,
            columnMenu: false,
            columns: [
             ...
            ]
        }).data("kendoGrid");

Georgi
Telerik team
 answered on 23 Oct 2020
15 answers
958 views

Hello.

I am looking for way to manage resize columns by user in Angular 2 application. I saw in another versions of KendoUI Grid (for example in AngularJS) that this is possible but I can't find any solution for that in Angular 2 technology. Are you support that or it will be added later?
Also I thinking about reorder columns. And like in last question, I saw in another versions of KenduUI that this feature is implemented but I can't find any way to do that in Angular 2? Should I wait for next versions of Kendo or there is simple way to make it on my own now? Thank you for any answers.

Dimiter Topalov
Telerik team
 answered on 23 Oct 2020
3 answers
540 views
I am trying to dynamically nest grids within a kendo grid, up to 10 levels deep. Is there a good approach you can recommend to dynamically nest the ng-template data so it doesn't look bloated? This is only three hardcoded levels of nesting and already is bloated.  Thanks in advance!
<kendo-grid>
  <kendo-grid-column field="ProductID" title="ID" width="40"></kendo-grid-column>
  <ng-template kendoGridDetailTemplate let-dataItem>
    <kendo-grid>
      <kendo-grid-column field="ProductID" title="ID" width="40"></kendo-grid-column>
      <ng-template kendoGridDetailTemplate let-dataItem>
        <kendo-grid>
          <kendo-grid-column field="ProductID" title="ID" width="40"></kendo-grid-column>
          <ng-template kendoGridDetailTemplate let-dataItem>
          </ng-template>
        </kendo-grid>
      </ng-template>
    </kendo-grid>
  </ng-template>
</kendo-grid>
Hetali
Telerik team
 answered on 22 Oct 2020
1 answer
69 views

Hi,

is there an option to disable the auto-submit of the data from search toolbar of the grid? It's not very efficient in our case with a remote datasource to query the DB for data on every change. We'd like to disable this feature and submit on enter/click.

Ivan Danchev
Telerik team
 answered on 22 Oct 2020
1 answer
270 views

Having difficulty displaying a page which contains a Kendo Grid.  @(Html.Kendo().Grid(Model)...  Running the application through VS 2017.  I have a menu page with four selections, one selection (a button) is the option to display data, in a separate page, using a Kendo Grid.  If I place breakpoints in the controller and one in the view, @(Html.Kendo().Grid(Model).., the page displays, with the data as expected at it works fine.  If I remove the breakpoints, the app will not display the page with the Kendo Grid, no error, it does nothing.   I've been using Google Chrome and I've hit the F12 to display developer options but I'm not seeing any explicit errors.  

Any ideas on why this might occur?

Martin
Telerik team
 answered on 21 Oct 2020
7 answers
968 views
Hi!
I need to show my own format for category axis with the Date values.
i able to do that by specifying format:

categoryAxis: { labels: { rotation: -90, format: 'dd MM yyyy' } }

but i also have allowed user to change baseUnit property for the chart interactively, like it represented in the example http://demos.kendoui.com/dataviz/line-charts/date-axis.html
 
by default i have baseUnit value set to "months". anyway, on the category axis label i have always the same format as it was given
(dd MM yyyy). 

how can i provide format depending on the baseUnit value (e.g. for "months" i need format: "MM yyyy", for "days" - "dd MM", etc)?

p.s. the globalisation as a possible solution did not work for me. based on this: http://docs.kendoui.com/getting-started/framework/globalization/definecultureinfo i was not able to change formatting on the chart (and chart is not depending on that for some reasons: http://docs.kendoui.com/getting-started/framework/globalization/overview#widgets-that-depend-on-culture-info). so #2 questions is: how to apply globalisation for charts?
Alex Hajigeorgieva
Telerik team
 answered on 21 Oct 2020
3 answers
202 views

In the sample code for the listview the following CSS appears. I've adapted the sample code for my app but I don't understand the purpose of this CSS. When I remove it the pager doesn't display properly. So I'd appreciate an explanation.

 

 .k-listview:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden

}

  

 

Anton Mironov
Telerik team
 answered on 21 Oct 2020
8 answers
305 views

Dear progress folks,

since we are currently updating our software product to the newest typescript version and also updating all our libraries we encountered the following:

Typescript 3.9.x does not work with Kendo-UI 2020.2.617. To get things to work we use TS 3.8.x.

I know TS 3.9 released in May and Kendo-UI 2020.2.x released in February where TS 3.8 was also released.

I just want to let you know. Also I want to know what your strategy regarding the minor releases of TS is. Which versions do you plan to support?

Here also some details what did not work (Chrome browser version: 83):

No exception was thrown.Chart is displayed with axes as configured. However, if we retrieve data via a datasource binding the curves were not displayed.

BR

Marco
Top achievements
Rank 1
Iron
 answered on 21 Oct 2020
5 answers
751 views
version v2011.3.1129

I have a grid that has editable: true, and when I select the cell, the contents disappear and are replaced by a gray box.  I've attached an image of the problem.
Tsvetomir
Telerik team
 answered on 21 Oct 2020
1 answer
97 views

Hi ,

I am facing below issues in Grid related to ADA compliance using JAWS

Note i ahve already applied .Navigatable() property in Grid

1)Grid is not reading the column name when Cell is selected

2)Cell color is not readed.

 

Please help me on this.

Thanks

Mohammed

 

Nikolay
Telerik team
 answered on 21 Oct 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?