ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: SDS on May 30, 2024, 10:24:57 am

Title: Remote Load not working
Post by: SDS on May 30, 2024, 10:24:57 am
First of all, Congratulations on such a wonderful software "Product" from India.

My Query:
The grid when configured for "remote" load, doesn't get refreshed automatically. Initially it shows a blank grid with no headers, only pager but on Refresh button click on Pager displays the complete grid as expected with data.

In browser console I get a message as shown in the attachments.
Even it doesn't hit the "actionresult" code in the controller untill refresh button click. I have attached the View part of the code.

Please guide on the query. Thanks in advance. 
Title: Re: Remote Load not working
Post by: paramvir on May 30, 2024, 12:34:15 pm
Thanks for the compliment.

More information is required besides the screenshot to find the cause of error. Please share a jsfiddle ( with small test case reproducing the error ) to help resolve the issue.

You can refer to these examples of remote url

with local paging: https://paramquery.com/pro/demos/paging_local

with remote paging: https://paramquery.com/pro/demos/paging

If it's not hitting the remote url, then dataModel.error callback can be implemented to catch the details of the error.
Title: Re: Remote Load not working
Post by: SDS on May 30, 2024, 02:48:01 pm
If it were a problem with datamodel or colmodel, then it should not work at all even on click of Pager refresh button. Is there anything I am missing in the source I have provided?
Title: Re: Remote Load not working
Post by: SDS on May 30, 2024, 04:59:31 pm
The above problem is solved for now.. Thanks