Hi,
There is an existing issue with File Manger pagination in List Mode (Grid Mode works fine).
The issue is that the paginator does not get updated with total count of items in the folder just opened/expanded. The count remains the same as first/home page.
E.g. On home page of file manager, I have 5 items ( 3 folders, 2 files)... so pager widget reads "1 - 5 of 5 items".
Once I click on a folder (one of the 5 items), it opens to show 50 (of 25000) files. However, the paginator widget stays at "1 -5 of 5 items". Thus leaving the user screwed because there are no pager links to get to next page of items as it thinks it has only 5 items in view when there are actually 50 in view, and it thinks total items are 5 instead of 25,000.
If I switch to Grid mode, it all works perfectly. Both my list and grid views are configured exactly the same.
,
views: {
list: {
pageable: {
alwaysVisible: true,
pageSizes: [10, 20, 50, 100, 200, 300, 500, 1000]
},
pageable: true,
selectable: "single" //allows only single selection int the ListView
},
grid: {
pageable: {
alwaysVisible: true,
pageSizes: [10, 20, 50, 100, 200, 300, 500, 1000]
},
pageable: true,
selectable: "single" //allows only single selection int the ListView
}
So an obvious bug...but when will there be a fix? Or a workaround? Currently I am working on rolling my own here. I have to trap the "open" event (double click)...and the reset the datasource with the correct items for the folder clicked on, and update the datasurce totals...then it works fine...but i have lost context of parent folders by resetting the data source with items at folder level.
The way it is currently, list mode is useless in FileManager...unless your sub folders have less items than your root folder.
Hi Guys,
I have JQuery, KendoUI ASPNET MVC 5 which has two pages Index and View Details Page each has a dedicated js file and want to return to the previous Grid page number when a button in View Details is clicked:
This is what I have tried so far:
I then attempted to fix the issue by trying to set the page number using the jquery.
ViewDetails.js
$(document).ready(function () {
Index.js
Results: Internal Server Error 500, when I click save or back button in the detailsPage
Another way that I tried was to use this function in the CustomerController's method:
Good afternoon,
I've been working on an effort to replace angularJS with Kendo for JQuery. For the most part, there's been a solution for everything, but I'm running into a bit of a hiccup. Is there some sort of equivalent I can use to replace the dir-pagination directive (which can be applied to things like TR or LI elements) that angular uses?
Thanks,
I have a pager control that needs to show the pageSize drop-down. On the initial load of the page, the drop-down is not shown, but any resize events, even towards making the page narrower result in the drop-down to be shown.
Here is how the pager control is defined:
$("#pager").kendoPager({
dataSource: vm.DataSource,
pageSizes: [5, 10, 20, 50, 100]
}).data("kendoPager");
and here is how it looks when the page loads:
and here is how it looks if I resize page in any way, even towards making the page narrower:
My question is why the Page Size drop-down is not visible when the page first loads?
Thanks
Hi all
I use a kendo grid to display some datas (with VUE JS 3 ) . This one is pageable.
I use the event "page" called when I change the page. I try to call initContextMenu from this event but I have the error "initContextMenu" is not a function"...
How can I call initContextMenu ? thanks you !
grid:function () {
kendo.jQuery("#grid").kendoGrid({
});
},
initContextMenu:function () {
// then ....
},