Hi everybody
I have an issue with the grid when scaling the browser window. For some reason I do not understand, the grid column width properties do not get adjusted in firefox. They do however in Chrome and Internet Explorer. Take a look at the screenshot.
Is this a known issue or am I doing anything wrong here?
Best regards
Hi,
I found a weird problem using drag and drop in a Kendo grid. The value of the cell that was changed loses his value after clicking into another cell. When I disable the functionality of drag and drop everything just works fine. One remark on this issue is that when I use the TAB-key to go to another cell and not the mouse-click the value remains.
You can easily simulate this by an example on the Telerik dojo http://dojo.telerik.com/ufezi . Initially in the standard example the editable property on the grid was not set.
There is also another example available here http://jsfiddle.net/UsCFK
Can someone please provide me a solution.
Regards,
Stefan.
Hi,
We recently switched from using onclick events to using kendo tap event for our mobile app (following your suggestion in other post).
As we found out, tap events are propagating and result with unintended events. For example - when the user clicks a button in view1 which navigates to view2, clicking this button will lead to view 2 but may also cause triggering a button of view2 that was located at the same position of the button in view1.
We also found out (following another suggestion you gave us in a different post) that using e.preventDefault() is solving this problem.
Our app has dozens, if not hundreds, tap events. Is there a better way to add them e.preventDefault() rather than go over all those places in the code and add it there?
We recently switched from using onclick events to using kendo tap event for our mobile app (following your suggestion in other post). Since then Xcode console shows us a message we never saw before:
*** WebKit discarded an uncaught exception in the webView:willRemoveScrollingLayer:withContentsLayer:forNode: delegate: <NSInvalidArgumentException> -[WebActionDisablingCALayerDelegate willBeRemoved]: unrecognized selector sent to instance 0x147627c20
Should we be concerned because of this Xcode error message?
Thanks,
Ron.
$(document).ready(function () { var emailGridDataSource = new kendo.data.DataSource({ transport: { read: { url: "/franchisees/stock/emailkendoread", dataType: "json" }, update: { url: "/franchisees/stock/emailkendoupdate", dataType: "json", type: "POST" }, parameterMap: function (options, operation) { if (operation !== "read" && options.models) { return { models: kendo.stringify(options.models) }; } } }, batch: true, pageSize: 25, schema: { model: { id: "ProductID", fields: { ProductId: { editable: false, nullable: true }, Name: { editable: false, validation: { required: true } }, Level: { type: "number", editable: false, validation: { required: true } }, MinQuantity: { type: "number", editable: false }, OrderByThe: { type: "number", editable: false }, Order: { type: "number", editable: true } } } } }); $("#emailGrid").kendoGrid({ dataSource: emailGridDataSource, navigatable: true, sortable: true, pageable: true, toolbar: ["save", "cancel"], columns: [ "Name", { field: "Level", width: 150 }, { field: "MinQuantity", width: 100 }, { field: "OrderByThe", width: 100 }, { field: "Order", width: 100 }], editable: true });});
Hi,
I have a kendo mvc grid with page size 50 and have total records of 500. I want to iterate through all grid records and get the data view for all the 500 records in java script. I'm writing it as below in the grid export excel event and getting only the first 50 records in to the view .
var data = this.dataSource.view();
var template = kendo.template(this.columns[0].template);
for (var i = 0; i < data.length; i++) {
var cellvalue =template (data[i]);
}
How do I get all the 500 records and iterate through them to get the view?
Thanks
Vidya