Hello Deepak,
@DeepakSharma14 said:
Spread Change event only fires in response to the change made by user in Spread like editing the cell etc.
When we change the value for ComboBox in code it does not make Spread _Change event to fire.
Please test my sample following steps below and let me know if you still can reproduce the issue:
1. Run the sample.
2. Click button1 to get the selected value and TypeComboBoxCurSel.
3. It gives "2, C".
4. Now click button2 to make List2 as ComboBoxList for ComboBox cell.
5. Click Button1 again to get the selected value and TypeComboBoxCurSel.
6. It gives "3, E". which is correct.Please let me know if I am missing something. Also if this is not what you are seeing at your end
This is working like you said, but take a look at the modified version, is which I only change the list when pressing button2:
1. Run the sample.
2. Click button1 to get the selected value and TypeComboBoxCurSel.
3. It gives "2, C".
4. Now click button2 to make List2 as ComboBoxList for ComboBox cell.
5. Click Button1 again to get the selected value and TypeComboBoxCurSel.
6. It gives "2,CE". which is INCORRECT – it should be "1,C’
Can you confirm this?