I have tried numerous approaches but can't seem to get a combobox correctly bound to a dataset.
The problem is that the combobox display value(label) does not change to match the currently selected record in the dataset. If I change the selection in the combobox, it does correctly update the dataset though.
Anyone know the correct way to bind a combobox to a dataset? My current binding that allows the update to occur but no synchronizing when changing records is:
binding ==> combobox.value<->dataset.field
Is there some other binding I need? Do I have to do something programmatically to accomplish this? All my other bindings have been done using the GUI so surely the combobox isn't different. I'm sure I could do something with the on(afterLoaded) of the dataset or on(cellPress) of the datagrid to force it to keep synch but that seems archaic compared to the other UI components.
Thx!
J
The problem is that the combobox display value(label) does not change to match the currently selected record in the dataset. If I change the selection in the combobox, it does correctly update the dataset though.
Anyone know the correct way to bind a combobox to a dataset? My current binding that allows the update to occur but no synchronizing when changing records is:
binding ==> combobox.value<->dataset.field
Is there some other binding I need? Do I have to do something programmatically to accomplish this? All my other bindings have been done using the GUI so surely the combobox isn't different. I'm sure I could do something with the on(afterLoaded) of the dataset or on(cellPress) of the datagrid to force it to keep synch but that seems archaic compared to the other UI components.
Thx!
J