ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Avoid default requests
« previous
next »
Print
Pages: [
1
]
Author
Topic: Avoid default requests (Read 1625 times)
cosconit
Pro Ultimate
Newbie
Posts: 11
Avoid default requests
«
on:
November 27, 2020, 06:43:33 am »
Hi
How can I avoid default request after grid rendering? I want to request remote data manually.
Logged
paramvir
Administrator
Hero Member
Posts: 6309
Re: Avoid default requests
«
Reply #1 on:
November 27, 2020, 02:13:12 pm »
Please use case 1: dataModel.location = 'local'
https://paramquery.com/pro/tutorial#topic-loaddata
Logged
cosconit
Pro Ultimate
Newbie
Posts: 11
Re: Avoid default requests
«
Reply #2 on:
November 30, 2020, 07:22:01 am »
I need use 'remote' mode , but I don't want to trigger it immediately when grid open.
Logged
paramvir
Administrator
Hero Member
Posts: 6309
Re: Avoid default requests
«
Reply #3 on:
November 30, 2020, 09:32:47 am »
In that case you can keep dataModel.location = "local" initially and then update it to "remote" followed by call to refreshDataAndView() later on upon your event of interest.
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Avoid default requests