SmartClient V8, firefox v 3.6
I am trying to customize a picklist for a grid editor. The effect I am trying to achieve is "optgroup". Works almost perfect, with the only problem that the picklist that I am getting cannot have its header hidden.
To reproduce this, paste the following code in the "grids -> editing -> custom editors" example, in the fields list:
The header is hidden only if I remove the pickListFields property. However, once that is done, there's no way to select the field to show and group by (specifying the fields property in the pickListProperties field seems to do nothing (gets ignored).
Hopefully there's something I am doing wrong and not a bug, or you can suggest a workaround so the same effect can be achieved. In any case, since it seemed like a bug, I thought I should report it.
Thanks,
Sorin
I am trying to customize a picklist for a grid editor. The effect I am trying to achieve is "optgroup". Works almost perfect, with the only problem that the picklist that I am getting cannot have its header hidden.
To reproduce this, paste the following code in the "grids -> editing -> custom editors" example, in the fields list:
Code:
{ name: 'gdp', title: 'gdp', editorType: 'SelectItem', editorProperties: { optionDataSource: countryDS, pickListFields: [{name: 'gdp'}, {name: 'continent', showIf: 'false'}], pickListProperties: {showHeader: false, groupByField: 'continent', canCollapseGroup: false, groupStartOpen: 'all'} } },
Hopefully there's something I am doing wrong and not a bug, or you can suggest a workaround so the same effect can be achieved. In any case, since it seemed like a bug, I thought I should report it.
Thanks,
Sorin
Comment