Does the FileManager for Kendo UI support AngularJS like the grid? I have tried initializing the file manager with the following code:
HTML
<div id="fileBrowser" kendo-file-manager="fileBrowser" k-options="fileBrowserOptions"></div>
NOTE: I have tried the following for the attributes:
kendo-file-manager
kendo-filemanager
AngularJS
$scope.fileBrowserOptions = {
dataSource: {
schema: kendo.data.schemas.filemanager,
transport: {
read: {
url: "/kendo-ui/service/FileManager/Read",
method: "POST"
},
create: {
url: "/kendo-ui/service/FileManager/Create",
method: "POST"
},
update: {
url: "/kendo-ui/service/FileManager/Update",
method: "POST"
},
destroy: {
url: "/kendo-ui/service/FileManager/Destroy",
method: "POST"
}
}
},
uploadUrl: "/kendo-ui/service/FileManager/Upload",
toolbar: {
items: [
{ name: "createFolder" },
{ name: "upload" },
{ name: "sortDirection" },
{ name: "sortField" },
{ name: "changeView" },
{ name: "spacer" },
{ name: "details" },
{ name: "search" }
]
},
contextMenu: {
items: [
{ name: "rename" },
{ name: "delete" }
]
},
draggable: true,
resizable: true
};
When I run the code nothing happens. No errors in the console.
Thanks for any help.
Robert
Hi Telerik Team,
I'm using k-textbox for filtering rows in a grid.
We used custom filter when type in the filter textbox we make a server call to bind also when I click outside of the textbox on the grid page again the transport.Read event gets called when it lost focus.
Is there a way to prevent this ?
Thanks for your answer.
Regards,
Senthilkumar
Hi
everyone, please vote using following link to request a feature change for multicolumn combo box column sorting.
MultiColumnComboBox sorting (telerik.com)
thanks
In the documentation I found how to change the main tooltip for a task start/end. Actually I want to keep it.
But how could I change only the planned tooltip?
Hello,
I have treelists with two levels of items (titles and positions). The titles can be rearranged via drag&drop. Dragging a title onto another title changes the order of titles. Positions can both be dragged under the same title but also to an other title.
Examples:
To do this (see code in attachment) I manipulate the title field and the parentId of the datasource. This worked fine as long as I dirctly saved items that were added to the list. But now I have to use batch save.
Now when I add a new title to the list and add or rearrange positions to that title or rearrange titles via drag&drop before saving the affectet titles and positions are attached to wrong parent items, sometimes items get duplicated. Doing the same thing after saving works as intended.
I assume the reason for this is that new items have an Id of 0 before saving.
I see that it is possible to rearrange items in treelists via drag & drop in your demos without manipulating these fields manually. But I don't see how can do this and get the same results as in the examples above. Could you please help me figure this out?
Note: in the attached files I have included sampledata as local data. In the project we bind to remote data. Not sure if this affects the beavior
Hi,
When the map is zoom out to world map, continents are duplicated on screen (attached). However the marker only display ones and does not replicate itself on the map.
Is there a way to display the marker on duplicated continents? Thanks!
Here's the code that I have:
$("#map").kendoMap({
zoom: 1,
layers: [{
type: "tile",
urlTemplate: "http://#= subdomain #.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png",
subdomains: ["a", "b", "c"],
attribution: "© <a href='http://osm.org/copyright'>OpenStreetMap contributors</a>"
}]
});
var map = $("#map").data("kendoMap");
map.markers.add([{ location: [33.7580, -118.2762]}]);
I overwrote the FileManagers MoveCommand to implement my own logic. Afterwards I do call the FileManagers refresh method. Unfortunately, this seems to update only the ListView/GridView, but not the TreeView.
So, when I move a subfolder between two folders, the folder has been moved correctly, the GridView/ListView then refreshes perfectly, but in the TreeView I can still see the subfolder in the old location (source folder). If I click the TreeViews target folder, the moved subfolder occurs. When I click the TreeViews source folder, the subfolder is still there (although it should not).
How can I force the FileManagers TreeView to do a full refresh (and reload all data)?
Thanks for any advice!
Patrick
Hi,
I have a strange issue with grid, and it seems it occurred after I upgraded from 2020 R2 to latest kendo ui version.
I have grids implemented on multiple places and I have 2 themes (Kendo Default and custom dark theme build through theme builder).
When I first load (or reload) page with grid with default (light) theme, it renders normally. If I switch to dark theme everything is fine, but if I load or reload the page with the dark theme, header row misaligns columns with the rest of the grid. (see images).
I even partially debugged and it led me to function
support.scrollbar = function (refresh) {
where support._scrollbar variable is sometimes 0 and sometimes 10 (for the same grid and same data). (it looks to me that sometimes it doesn't take scrollbar into a count when calculating headers). What is also interesting if I try to resize any header column everything snaps back as it should be.
Unfortunately, there is no way I can build replica of everything in dojo, so I would appreciate even vague pointing where to look further.
Thank you very much and regards,
Vedad
I am using a treelist with multicolumn headers and I have the left side of the treelist locked with the right side columns scrollable horizontally... In my overall layout I have a left hand menu that expands/collapses.. The treelist loads/appears fine but when I collapse the left nav an issue appears where the headers and exterior of the treelist expands as it should but when scrolling the columns the right side keeps the original size which makes it appear that they are cutoff.. screenshot attached ... should i be calling some type of resize/reinitialize when collapsing/expanding the menu?