Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
Bug import/export configuration
17/06/2011
18:12
Avatar
jsilva
The Netherlands
Member
Members
Forum Posts: 4
Member Since:
10/02/2011
sp_UserOfflineSmall Offline

Hello,

When I export my grid configuration the request body contains the json data like this:

"colModel":[{"name":"Id","displayname":"UniqueID","align":"middle","sortable":"true","index":"0",
"width":"10","hidden":"false","resizable":"true"...

Now the problem is, the import feature apparently requires the values with the correct data type, so the width being an integer can't be "width":"10" has to be "width":10 same with booleans etc.

Is there any way to export the settings with their correct type? Or importing with all values being strings?

I am not 100% sure but I think in version 3.8.x this was working as intended.

Cheers,

Joao Silva

04/07/2011
14:27
Avatar
jsilva
The Netherlands
Member
Members
Forum Posts: 4
Member Since:
10/02/2011
sp_UserOfflineSmall Offline

I grabbed the development version and changed line 265 in the "JsonXml.js" file:

Where it was:

json += (name && ":") + "\"" + o.toString()+ "\"";

Becomes:

json += (name && ":") + o.toString();

And it fixed my problem, hope it helps someone else.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
24 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information