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
»
getChanges( { format: format } )
« previous
next »
Print
Pages: [
1
]
Author
Topic: getChanges( { format: format } ) (Read 3024 times)
jomeihua
Pro Deluxe
Newbie
Posts: 7
getChanges( { format: format } )
«
on:
January 21, 2014, 12:34:02 pm »
If datamodel datatype is XML
Can i use this function ?
i see this function in API only return JSON object
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: getChanges( { format: format } )
«
Reply #1 on:
January 21, 2014, 02:29:33 pm »
Yes.
dataModel.dataType == xml implies that the response received in dataModel.getData callback is in xml format.
You have to convert xml to JSON format in dataModel.getData with the help of xmlToJson method.
http://paramquery.com/pro/api#method-xmlToJson
getChanges can be used after that.
«
Last Edit: January 21, 2014, 04:23:04 pm by paramquery
»
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
getChanges( { format: format } )