I am attempting to use an OptionSetEditor on an individual cell with a valuelist also on that particular cell. While the editor does show the options as radio buttons the selected value does not seem to register in the cell itself; that is when I select a radio button and then exit that cell (by clicking on some other part of the grid or UI) the selection disappears and all radio buttons are in the not selected state. What factor am I missing when working with these types of cell editors ?
NetAdvantage v9.2
thanks for any help
I just wanted to add an amendment to this post giving some further details...
The OptionSetEditor is actually saving the state properly but it is visible only when in edit mode (i.e. when clicking in the cell). This recalls my experience with the WinControlContainerEditor where a separate editor is needed for rendering and actual editing. Is there something related to that going on here?
thanks
Hi again,
Did you look at the example that I send you? Have you been able to resolve your issue ? Please keep me in touch
Regards
Hello,
Through experimentation I realized that while the actual editor supports selecting and storing data in an an untyped column, the renderer does not display one's selected choices unless the column is explicitly typed.
Hi,
Have you been able to resolve your issue ? If you have any questions feel free to ask me
Hello, yes the issue is resolved now thanks :)
I did check the code in a new project and found out that not the datatype of the column itself is the problem but rather the assignment of the ValueList items. There had been a cast to string inside, which we use for dropdown lists. For radio buttons this is not allowed, the ValueListItem collection should contain only Integer´s...
regards Florian