3 Answers, 1 is accepted
0
Hello Libor,
This should be possible as long as you initialize the barcode (DataViz widgets respectively) in the init event of the mobile view. For more general questions concerning Kendo UI Mobile you can refer to this public FAQ.
Best regards,
Sebastian
Telerik
This should be possible as long as you initialize the barcode (DataViz widgets respectively) in the init event of the mobile view. For more general questions concerning Kendo UI Mobile you can refer to this public FAQ.
Best regards,
Sebastian
Telerik
Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).
0

Libor
Top achievements
Rank 1
answered on 11 Feb 2014, 02:11 PM
Hello again,
thanks for reply. I understand what I have to do, but i don't know how. Where do I insert a barcode widget in my script? Can you give me any example please?
There's my view:
And there's my script:
thanks for reply. I understand what I have to do, but i don't know how. Where do I insert a barcode widget in my script? Can you give me any example please?
There's my view:
...
<
div
class
=
"center"
id
=
"home"
data-role
=
"view"
data-layout
=
"default"
data-init
=
"init"
>
<
input
>
<
div
id
=
"barcode"
></
div
>
</
div
>
...
And there's my script:
var app = new kendo.mobile.Application($(document.body), { transition: "slide" });
function init(e) {
console.log('init');
}
$(document).ready(function() {
$("#barcode").kendoBarcode({
value:"FOO"
});
});
0
Hi Libor,
As my colleague Stefan replied, you should place the barcode initialization script inside the init event handler.
Regards,
Alexander Valchev
Telerik
As my colleague Stefan replied, you should place the barcode initialization script inside the init event handler.
var
app =
new
kendo.mobile.Application($(document.body), { transition:
"slide"
});
function
init(e) {
$(
"#barcode"
).kendoBarcode({
value:
"FOO"
});
}
Regards,
Alexander Valchev
Telerik
Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).