jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Problems with grid data loading
Tagged: grid control
This topic contains 5 replies, has 2 voices, and was last updated by Peter Stoev 12 years ago.
-
Author
-
Hello.
I’m using jqxgrid with remote data provider like below.var dataSource = { datatype: 'json', datafields: [ .... ], root:'DATA', data: { // parameters for ajax request }, url: // URL for remote data provider, beforeprocessing: function(data) { dataSource.totalrecords = data.TOTAL_COUNT; }};var dataAdapter = new $.jqx.dataAdapter(dataSource);$("#gridobj").jqxGrid({ width: 750, .... sortable: false, altrows: true, pageable: true, enabletooltips:true, virtualmode: true, columns:[ .... ], source: dataAdapter, rendergridrows: function(param) { return dataAdapter.records; }, pagerrenderer: function() { // custom pager renderer sources }});
It works nicely, with no error.
But there is a problem that jqxGrid requests grid data twicely every time.
Is any wrong usage on my sources or known problems in jqxGrid?Hi,
We cannot reproduce that with the current version. Could you please, send us a sample to support@jqwidgets.com which illustrates that?
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThanks for fast reply.
But, that’s all of my source. And that problem comes up almost all grids in my web apps.
And more, it appears only in IE browser. (I check out that sources on Chrome, Firefox and IE)
I use jqwidgets of version 2.6.0 and use servlet for providing data with JSON format via AJAX.Hi,
The current version is 2.9.1. Unfortunately, we can try to help only about issues with the current version as, there is a very good chance the reported behavior from an older version to be already resolved in the newest one.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThank you very much.
I’ll try newest version of jqxwidget as you said, and report any results whether the problem solves or not.Hi,
Sounds good. However, keep in mind that there are many breaking changes since ver. 2.6 so check the Release Notes first and make sure that you update the Scripts and CSS files, too.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.