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:
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
custom grid widget question
-
- Profound User
- Posts: 83
- Joined: Sun Oct 03, 2010 8:45 am
- First Name: Mike
- Last Name: Geldert
- Company Name: Stonriver
- Country: Angola
- Contact:
- 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
This is now fixed in our upcoming update (version 3.1.9)
-
- 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
GREAT!! Thanks once again!
Who is online
Users browsing this forum: No registered users and 0 guests