I would like to confirm if anybody has gotten this behavior with server grouping and virtual scroll bar enabled.
When I used the scroll bar to drag down half the page, the grid fires off a take and skip post request to my server and gets returned some groups. But when I use the scroll bar from here, the last request two requests (and sometime other requests) get fired off consecutively without completion almost like on a infinite loop. The developer console in the browser logs an never ending repeat of two previous (or current) requests over and over again. Sometimes when sing the scroll wheel after paginating the server grouping, will trigger off a constant stream requests.
I have included my grid settings below.
var grid = $('#kendo-table').kendoGrid({ dataSource: { type: "json", serverPaging: true, serverSorting: true, serverFiltering: true, serverGrouping: true, pageSize: 10000, schema:schema, transport: { // "Posting sorting parameters to back end" read: { type: "POST", url: restApiHost, contentType: "application/json", beforeSend: _beforeSendXHRModifier, data:{ // this is custom, it defines the raw report we show targetTable:targetTable } }, parameterMap:function(data,type){ if(type === "read"){ // maps data to the post request, things that are mapped are like: pageSize, skip, take, ect console.log("paramterMap on: "); console.log(data); return kendo.stringify(data); } } }, }, height: height, scrollable: { virtual: true }, pageable:{ refresh: true, previousNext: false, numeric:false, messages: { display: "Loaded {0}-{1} from virtualizing {2} data items" } }, groupable: true, sortable: true, selectable:'multiple cell', reorderable:true, resizable:true, columns: columns, filterable: true, filterMenuInit: _onFilterMenuInit,}).data("kendoGrid");grid.bind('dataBound',function(e){ console.log("dataBoundEvent without new grid instance"); var gridDataSource = e.sender.dataSource; if (gridDataSource.group().length > 0) { //the grid is grouped $("#kendo-table").find(".k-icon.k-i-collapse").trigger("click"); console.log('Lets start grouping, expanding will trigger ajax call on elements of this group'); }});The following examples fails to run
http://dojo.telerik.com/UXOyu/2
when I add children to items using push.
If I use a static object like
data: [{
name: "Tree",
value: 5,
items:[
{
name:"Leaf 1"
value:3
},
{
name:"Leaf 2"
value:2
}
]
}],
It works fine.
What am I missing?
Thanks.
On a Kendo Grid, let's say the user sorted on a column in a grid. Then the software programmatically added more records. Is there a way to programmatically tell tell the Grid "Whatever your sort parameters were, use those same parameters and sort again."?
Just redrawing the Grid would be painful, as the existing sorting parameters would be lost.
Thanks,
Steve
Is it possible to hide the row-, coulmn and measure list in the PivotConfigurator? or in other words: Is it possible to only show the field list?
You demos are all set to a max displaysize of 1023 px by below lines:
@media screen and (max-width: 1023px) {#pivotgrid,#configurator { display: none;}}
On your release webinar on YouTube you are very proud of the easy responsive design of Kendo UI, but i couldn't find a way to make the PivotGrid responsive.
Did i miss something? The demo (dojo) on mobile phones doesn't show anything.
I couldn't find a way to resize fields build-in per drag & drop.
Most commonly (Excel, ...) this is done by two ways:
1. Resizing the width per drag & drop by clicking on the bar between two fields (splitter).
2. Double click on this bar (splitter) resizes the field to the minimum size of it's content.
I often see truncated fieldnames or values or much to wide fields in the Kendo UI PivotGrid. Eventually this is something important to improve.