Hi, I need to rotate cell 90 degree in exported excel file as shown below. I'am using kendo grid jquery export excel feature. I don't find any documentation about it.
I am resetting the grid's state like this:
const $grid = $gridRoot.find('.xifacts-simple-grid');
const grid = $grid.data('kendoGrid');
grid.dataSource.filter({});
grid.dataSource.sort({});
grid.dataSource.pageSize(5);
grid.clearSelection();
grid.dataSource.page(1);
All is good, the grid state is correctly reset (it goes to page 1) - but it still shows the old page that was selected.
Same for the Items/Page.
Here is a gif for the issue:
Hi,
We're not sure if this is a bug or feature.
Using ListView and the method setDataSource with the built-in paging. The ListView appears to change data sources but the paging doesn't. Tried using the refresh() method but same result.
We worked around it by using the Pager widget and ListView without the bulit-in paging and this seems to work okay.
It's not a problem. Just found it weird that we do the same for a Grid on the same page using the method setDataSource and the data source changes okay along with the paging.
Any thoughts?
Thanks// First load
var dataSourceListView = new kendo.data.DataSource({
data: dataSource,
pageSize: 8
});
$("#listView").kendoListView({
dataSource: dataSourceListView,
dataBound: function () {
},
template: kendo.template($("#template").html()),
pageable: true
});
// Not first load
$("#listView").data("kendoListView").setDataSource(dataSourceListView);
//$("#listView").data("kendoListView").refresh();
Hi,
Love the search bar addition to the Kendo Grid. Thank you!
The underlying DataSource is set to serverFiltering = true and so I was wondering if it was possible to only begin the search once the user has entered 3 characters or more? The current behavior is that calls to the back end are made as soon as the user starts typing in the search bar but I wanted to see if there was a way to delay that until after the user enters 3 or more characters.
I guess I could achieve this by defining my own read method under the underlying DataSource transport but I wanted to see if there was a more elegant way to achieve this.
Regards,
I was trying to implement Kendodropdowntree , I came across following situation which I am not able to understand
$(dropdowntree).kendoDropDownTree({
placeholder: "Select ...",
height: "auto",
dataSource: //HARD CODED VALUE GOES HERE
});
}
Above example will work fine when , I hard code those datasource values. When I try to pass some variable there it will not work
var datatobind= somedata // data in exact format it is expected
{
$(dropdowntree).kendoDropDownTree({
placeholder: "Select ...",
height: "auto",
dataSource: datatobind
});
}
Even I tried passing variable of following type
var dataSourcetype = new kendo.data.HierarchicalDataSource({
data: datatobind
});
{
$(dropdowntree).kendoDropDownTree({
placeholder: "Select ...",
height: "auto",
dataSource: dataSourcetype.options.data
});
}
But even above also doesn't solve problem, I am not able to get it , why passing exact same variable is not binding to data source.
Hi,
What I am trying to achieve:
Have a local array of my objects to be displayed by the scheduler, then I would need to remove some of them, and at the same time insert new ones
When the page first loads, it works ok, as soon as I try to update the underline data source I get the error:
TypeError: Cannot read properties of null (reading 'getTimezoneOffset')
To reproduce, please press the "Update" button. (I have attached a sample) PS: Please note that I am currently using: kendo.2022.1.412 ( I forgot to update the sample, but it throws the same error)
And one more question, for the scheduler then to reflect the changes , do I need to call the scheduler.view? or will it be ok to just trigger the scheduler.dataSource.read()?
//update scheduler
var scheduler = $("#scheduler").data("kendoScheduler");
scheduler.dataSource.read();
//scheduler.view(scheduler.view().name) ----> do we really need this?
Thanks,
Hi,
I have a question regarding Gantt chart performance, when having large amount of data. I expect that my Gantt chart will have ~10.000 rows minimum, but I am starting to face some performance issues with this amount of data. The widget becomes laggy and responses to user actions with a delay.
So my question is what is the maximum row count that Gantt supports? Maybe I've reached it?
Thank you)
I have written detail expand function on index page and my kendo grid is on another page. my other functions are accessible but can't access detail expand and other functions related to kendo grid. need vb.net mvc code.
can anyone please help.
function detailExpand(e) { if (expandedRow != null && expandedRow[0] != e.masterRow[0]) { var grid = $('#drgdgrid').data('kendoGrid'); $(".k-master-row").each(function (index) { grid.expandRow(this); }); grid.collapseRow(expandedRow); expandedRow.next().remove(); } expandedRow = e.masterRow; //id = expandedRow[0].cells[0].innerText; var masterDataItem = $('#drgdgrid').data('kendoGrid').dataItem(expandedRow); expandedDataItem = masterDataItem; if (masterDataItem.code != null && masterDataItem.code != '') { $(".hideAddButton").hide(); } else { $(".hideAddButton").show(); } }