We use the kendo user interface for the iOS app.
I have a problem in data-stretch .
I have one data-role="view" with data-stretch="true" .
In this view, I have a DIV tag,
1st Div with id="googleMap" displaying a Google map
2nd Div with id="dashboard" , which displays 2 charts and 2 tabular data formats.
If I use data-stretch="true" , then the Dashboard DIV will not be able to display the default scroll, because the height of the data is greater than the Apple tablet.
If I use data-stretch="false" , then the problem occurs in googleMap DIV and it cannot display Google map.
My code is:
<div id="divmap" data-role="view" data-title="Expenditures" data-layout="Operationlayout" data-before-show="cleanview" data-show="OperationMenuList" data-stretch="false" data-init="ChartLoading"> <div id="googleMap"> </div> <div id="dashboard"> <div id="Fleet"> <table width="100%" cellpadding="0" cellspacing="0">....</table> </div> </div> </div>
How can I solve my data-stretch problem?
I used, as shown below, to set the value of the data stretch form of a java script,
var view = $("#divmap").data("kendoMobileView"); view.stretch = false;
But it does not work.
How can I set data-stretch true/false dynamically from javascript?
Please help me.
Thanks in advance.