custom grid widget question

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
leatherlips
Profound User
Posts: 83
Joined: Sun Oct 03, 2010 8:45 am
First Name: Mike
Last Name: Geldert
Company Name: Stonriver
Country: Angola
Contact:

custom grid widget question

Post by leatherlips »

I was trying to create a custom grid using the info provide in the online documentation. All seems fine except for one thing.
In the .js file, I put additional "default" settings for header height, row Height, csv export and filename. The height items work fine, but the csv export flag set to true doesn't show up on the grid when added to a screen.
Here's the "default" settings from the .js file:

leaf: true,
defaults: {
"header height": "20",
"row height": "17",
"csv export": "true",
"csv file name": "data",
"css class": "custom-grid1"
}

here's the result when added to the designer:
csv expoert1.png
csv expoert1.png (21.66 KiB) Viewed 1071 times
If I "de-select" the "true" on csv export, then re-select, it shows the export to excel as intended.
Am I specifying the defaults correctly or is there something else I need to do for those values to "take" when the grid is added to the designer?

THANKS
User avatar
Alex
Profound Logic Staff Member
Posts: 233
Joined: Fri Jan 04, 2008 12:10 pm
First Name: Alex
Last Name: Roytman
Company Name: Profound Logic Software
Contact:

Re: custom grid widget question

Post by Alex »

This is now fixed in our upcoming update (version 3.1.9)
leatherlips
Profound User
Posts: 83
Joined: Sun Oct 03, 2010 8:45 am
First Name: Mike
Last Name: Geldert
Company Name: Stonriver
Country: Angola
Contact:

Re: custom grid widget question

Post by leatherlips »

GREAT!! Thanks once again!
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests