jQWidgets Forums
Forum Replies Created
-
Author
-
December 9, 2016 at 7:14 pm in reply to: jqxGrid hitting server twice on route change and refresh jqxGrid hitting server twice on route change and refresh #89731
Checked everything out.
Controller is not called twice.
I need grid’s server side filtering capabilities, so none of your angular1 tutorial examples work for me……December 9, 2016 at 5:41 pm in reply to: jqxGrid hitting server twice on route change and refresh jqxGrid hitting server twice on route change and refresh #89726Hi Hristo,
Thank you for answering.
Will check out that, thanx!I couldn’t find any examples of server side filtering, sorting , paging with angular1 could you create those examples ?
December 6, 2016 at 4:04 pm in reply to: jqxGrid hitting server twice on route change and refresh jqxGrid hitting server twice on route change and refresh #89608Also this exception happens whenever route is changed.
jqx-all.js:7 Uncaught TypeError: Cannot read property ‘length’ of undefined(…)refresh @ jqx-all.js:7q @ jqx-all.js:7l @ jqx-all.js:7callDownloadComplete @ jqx-all.js:7success @ jqx-all.js:7fire @ jquery.js:3187fireWith @ jquery.js:3317S @ jqx-all.js:7H @ jqx-all.js:7
jqx-all.js:7 Uncaught TypeError: Cannot read property ‘length’ of undefined
at b.jqx.dataview.refresh (http://localhost:46802/Scripts/jqx-all.js:7:1764177)
at q (http://localhost:46802/Scripts/jqx-all.js:7:1754797)
at Object.l [as func] (http://localhost:46802/Scripts/jqx-all.js:7:1754866)
at i.jqx.dataAdapter.callDownloadComplete (http://localhost:46802/Scripts/jqx-all.js:7:119887)
at Object.success (http://localhost:46802/Scripts/jqx-all.js:7:110218)
at fire (http://localhost:46802/Scripts/vendor/jquery/dist/jquery.js:3187:31)
at Object.fireWith [as resolveWith] (http://localhost:46802/Scripts/vendor/jquery/dist/jquery.js:3317:7)
at S (http://localhost:46802/Scripts/jqx-all.js:7:152336)
at XMLHttpRequest.H (http://localhost:46802/Scripts/jqx-all.js:7:158769)December 6, 2016 at 3:39 pm in reply to: jqxGrid hitting server twice on route change and refresh jqxGrid hitting server twice on route change and refresh #89606Also worth mentioning. Server side paging is working just fine.
However, grid gets loaded twice on refresh and gets loaded when route is changed.Thank you in advance, hope I didn’t forget anything this time
December 6, 2016 at 3:35 pm in reply to: jqxGrid hitting server twice on route change and refresh jqxGrid hitting server twice on route change and refresh #89605Forgot to show view file. So here it is.
customers.html
<div class=”row”>
<div class=”row container-fluid margin_top5″>
Registriraj kupca
<button type=”button” ng-click=”openDeleteDialog()” class=”btn btn-sm btn-danger”>Briši odabrane <i class=”glyphicon glyphicon-remove”></i></button>
</div>
<div class=”panel panel-primary margin_top5″>
<div class=”table-responsive col-lg-12 col-md-12 col-sm-12 col-xs-12 margin_top20″>
<jqx-grid jqx-settings=”gridSettings”></jqx-grid>
</div>
</div>
</div>Also worth mentioning. Server side paging is working just fine.
However, grid gets loaded twice on refresh and gets loaded when route is changed.
Thank you in advance, hope I didn’t forget anything this time -
AuthorPosts