or
//get windows size
if (document.body && document.body.offsetWidth) {
windowsWidth = document.body.offsetWidth;
windowsHeight = document.body.offsetHeight;
}
if (document.compatMode=='CSS1Compat' &&
document.documentElement &&
document.documentElement.offsetWidth ) {
windowsWidth = document.documentElement.offsetWidth;
windowsHeight = document.documentElement.offsetHeight;
}
if (window.innerWidth && window.innerHeight) {
windowsWidth = window.innerWidth;
windowsHeight = window.innerHeight;
}
but on iPad I get these size: 980 x 1080 (not the real 768 x 1024).
Thanks Mauro
var schemaModel = kendo.data.Model.define({ id: "Id", fields: { Id: { editable: false, type: "number" }, Person: { FirstName: { editable: false, type: "string" }, MiddleName: { editable: true, type: "string" }, LastName: { editable: true, type: "string" } } }});