Hello Team,
I have a project in which I have used list view to show the data. But When I bind the data first time, it works properly, but when bind the data again then it gets small.
I am using the below code :
<div id="tabstrip-sales-dashboard" data-role="view" data-title="Sales dashboard" data-model="app.loginService.viewModel" data-show="mobileSalesViewInit" data-stretch="false" >
<div>
<div data-role="content" class="view-content">
<ul id="salesperiod" data-role="buttongroup" data-index="0" style="font: bold 0.76em HelveticaNeue,sans-serif;">
<li>Today</li>
<li>Current Week</li>
<li>Current Month</li>
</ul>
</div>
</div>
<!--<div>-->
<span id="spMsg"></span>
<p id="paraspMsg"></p>
<ul id="ulToday">
</ul>
<!--</div>-->
</div>
In above code I am binding data to ' <ul id="ulToday"></ul>'.
This occurs in android. Just I have investigated briefly and I found that when we bind data to listview it creates <div class="listview-wrapper"> and I think It has padding and I think this is why it is causing problem.
Any help would be appreciated.
Thanks
I have a project in which I have used list view to show the data. But When I bind the data first time, it works properly, but when bind the data again then it gets small.
I am using the below code :
<div id="tabstrip-sales-dashboard" data-role="view" data-title="Sales dashboard" data-model="app.loginService.viewModel" data-show="mobileSalesViewInit" data-stretch="false" >
<div>
<div data-role="content" class="view-content">
<ul id="salesperiod" data-role="buttongroup" data-index="0" style="font: bold 0.76em HelveticaNeue,sans-serif;">
<li>Today</li>
<li>Current Week</li>
<li>Current Month</li>
</ul>
</div>
</div>
<!--<div>-->
<span id="spMsg"></span>
<p id="paraspMsg"></p>
<ul id="ulToday">
</ul>
<!--</div>-->
</div>
In above code I am binding data to ' <ul id="ulToday"></ul>'.
This occurs in android. Just I have investigated briefly and I found that when we bind data to listview it creates <div class="listview-wrapper"> and I think It has padding and I think this is why it is causing problem.
Any help would be appreciated.
Thanks