This is most probably a stupid question but yeah. How do I change the CheckState column that the CheckEditor is bound to programatically?
Basically, I have a dropdown that would determine what the CheckState bound column should be. The datasource etc all stays the same for the CheckEditor, it's only the CheckState that changes.
Hello Logan
Thank you for contacting. In order to understand the scenario i need little more information:
Do you have UltraCheckEditor in the UltraGrid?
What is the datatype of the Column?
Regards,
Hi Divya,
The CheckEditor is not in a UltraGrid. It is used standalone. I have a UltraCombo on a Winform that is bound. When the selection of that UltraCombo changes, the CheckState binding needs to change based on that selection.
As an example:
If I select Invoice from the Combo, which has index of say 1, then I need the CheckState binding to change to bindingsource.table.fieldxx
If I select Quote from the Combo, which has index of say 2, then I need the CheckState binding to change to bindingsource.table.fieldyy
The CheckEditor state is determined by the TYPE of document selected in the combo. Obviously, if the end user changes the CheckEditor selection from unchecked to check I need to save that as well in that particular field as well.