I would like to remove the ability to re-size the panes (the grid and the graph). I know this uses the Kendo Splitter widget, but I get really wonky results when I try to disable splitter resizable option.
$("#gantt").kendoSplitter({
panes: [ { resizable: false }, { resizable: false } ]
});
It completely messes up the gantt widget.
Any suggestions?
Hi, i try to use grid in angularjs application.
I defined angular controller like this:
function _controller($scope, gridData) {
var vm = this;
... some code ...
var dataSource = new kendo.data.DataSource({
data: gridData,
pageSize: 20,
});
vm.onChange = function (data, dataItem, columns) {
console.log(data);
console.log(dataItem);
console.log(columns);
}
dataSource.read();
vm.gridOptions = {
columns: gridColumns,
selectable: "row",
editable: false,
pageable: true,
dataSource: dataSource
};
// private functions
function _handleChange(e) {
console.log(e);
};
}
So I was playing around with KendoUI and incorporated Dynamic LINQ Helpers in my ASP.NET MVC project. I followed the small tutorial here.
So far, the paging and sorting is working fine but the filtering is not working. Every time I try to filter my records, there is an exception on server side like the following
Operator '=' incompatible with operand types 'String' and 'String[]'
Can anyone help me with this?
Here is my Grid code (yes I am using Angular)
$scope.mainGridOptions = { dataSource: { transport: { read: { url: ConfigData.BaseUrl + "ChartOfAccounts/GetData", type: 'post', dataType: "json" }, update: { url: ConfigData.BaseUrl + "ChartOfAccounts/UpdateData", type: "post", dataType: 'json' }, create: { url: ConfigData.BaseUrl + "ChartOfAccounts/CreateData", type: "post", dataType: 'json' }, destroy: { url: ConfigData.BaseUrl + "ChartOfAccounts/DeleteData", type: "post", dataType: 'json' } }, serverPaging: true, serverFiltering: true, serverSorting: true, pageSize: 5, batch: true, schema: { data: "Data", total: "Total", model: { id: "ID", fields: { ID: { type: "number" }, AccountNumber: { type: "string" }, AccountName: { type: "string" } } } } }, columns: [ { field: "AccountNumber", title: "Account Number", width: "130px" }, { field: "AccountName", title: "Account Name", width: "130px" } ] };Hey there, making a dashboard with draggable widgets. There are specific drop zones on each page to keep it organized. Only 1 widget is allowed into a drop zone at a time, so if someone drags a widget onto another one, the widget that is already in the drop zone needs moved to an open drop zone. I have this functionality working with some custom code, but for whatever reason the draggable object loses its dragginess after I manually move it. I'm guessing this is expected behavior because KendoUI doesn't know I move it.
UPDATE:
- Ok I solved my Issue, by resetting my draggable objects after each drop. But I wanted to still post the question to make sure that this is how it is supposed to be done, and I'm not just missing a built in way to do this?
for reference, in my onDrop method (simplified) I do this:
// save drop target data to move manuallyvar html = e.dropTarget.clone();//find an available empty drop zone to place it.......$("#myEmptyDropZone").html(html);//Drop in my draggable item i was dragginge.dropTarget.html(e.draggable.element);// refresh all draggables because now both draggable items don't work CreateDraggableWidgets();// my create draggable items function function CreateDraggableWidgets() { //create draggable items within the container $(".draggable-item").kendoDraggable({ filter: ".drag-handle", hint: function (element) { var width = element.parent().width(); var hint = element.closest(".draggable-item").clone(); hint.css("width", width); return hint; }, cursorOffset: { top: 7, left: 2 } }); }
Hi,
when opening nested modal windows, the overlay flashes quite fireworkish since the overlay's background-color changes abruptly from dark to light before being animated back to a dark.
I found an example dojo: http://dojo.telerik.com/@naskog/AhIQI
Is there any way to avoid this? Does Kendo UI keep track of the nesting level of modal windows, so it could behave differently for modal windows at deeper levels? I wouldn't mind if the overlay would be applied only to the first modal, just to get rid of the flashing.
Regards
Kasimier Buchcik
If i place a kendo grid with a detail template inside of an AngularJS ng-switch directive there seems to be an issue in how Kendo renders the grid detail. Specifically it shows up as plain html controls above the grid the first time the div containing the grid is shown via ng-switch. See the example in the link:
http://dojo.telerik.com/IjAvI
Hi,
I'm having an issue with the row highlighting on hover when using locked columns. When hovering over a row in the unlocked section of the grid, only the unlocked columns get highlighted. When hovering over a row in the locked section, only the locked sections get highlighted.
I know this is because column locking actually creates two separate grids.
How can I get the entire row (locked and unlocked) to highlight when I'm hovering over a row?
Thanks,
Ian
Globalization example in Kendo UI Web framework at following link http://demos.telerik.com/kendo-ui/globalization/index
This example only changes control culture and changes values format. Any working example for validation and field label change based on culture?
My application will have multiple language support so I will have to change field labels and validation based on language. Any help, suggestion or working example would be appreciated.
