Page 1 of 1

Is it possible to replace jQuery Mobile with Kendo UI

Posted: Thu Jun 19, 2014 6:10 am
by Shawn Johnson

I have been playing around with Kendo UI, and some of the UI components. I was wondering if it was possoble to replace jQuery Mobile with Kendo UI, with an appery project ?


Is it possible to replace jQuery Mobile with Kendo UI

Posted: Thu Jun 19, 2014 6:39 am
by Evgene Karachevtsev

Hello Shawn,

You may try to delete JQM in Source tab and add code you need like custom JS and CSS: http://devcenter.appery.io/documentat...
http://devcenter.appery.io/documentat...


Is it possible to replace jQuery Mobile with Kendo UI

Posted: Thu Jun 19, 2014 6:55 am
by Shawn Johnson

Evgene,

how would you manage items like data binding with regards to Kendo components
appery data services

for instance here is a kendo ui list view declaration

Code: Select all

  ul/ul 

here is the datasource example

var addProductDataSource = new kendo.data.DataSource({
transport: {
create: {
url: "http://demos.telerik.com/kendo-ui/ser...",
dataType: "jsonp"
},
parameterMap: function (options, operation) {
if (operation !== "read" && options.models) {
return { models: kendo.stringify(options.models) };
}
}
},
schema: {
model: {
id: "ProductID",
fields: {
ProductID: { editable: false, nullable: true },
ProductName: { type: "string" }
}
}
},
autoSync: true,
batch: true,
requestEnd: function () {
$("#name").val("");
}
});


Is it possible to replace jQuery Mobile with Kendo UI

Posted: Thu Jun 19, 2014 8:57 pm
by Kateryna Grynko

Hi Shawn,

Could you please clarify, do you need to pass service data to Kendo component? Do you have any specific problem with it?


Is it possible to replace jQuery Mobile with Kendo UI

Posted: Thu Jun 19, 2014 11:40 pm
by Shawn Johnson

Katya,

I was asking in general, how to map the response form the appery service to the Kendo UI component that is expecting a model, I played with a few of the Kendo UI demos and got it to work.

I was thinking it would be awesome if you can could create custom visual components to be use in appery's UI designer. You can create new front end elements to make different UI's experiences.


Is it possible to replace jQuery Mobile with Kendo UI

Posted: Fri Jun 20, 2014 3:37 am
by Yurii Orishchuk

Hi Shawn.

Unfortunatly, currently Appery.io code generating works only with jqm components.

But if you need you can add service onsuccess event handler and generate HTML which is kendo.ui requires and then init this HTML code with kendo.ui component.

Regards.