Hi,
I need a way to make it so choosing an option in a dropdown list does not change the value in the cell, but instead starts running another command in my application that will cause the cell value to update.
I already have the code for updating the cell value when the other part of my application causes it to change.
The cell's column style is set to ColumnStyle.DropDown, and AutoEdit is false so it does not pull values from the dropdown list if the user types in the cell. I have a valuelist set up and attached to the column. I am not using any embedded editors (the column.editor property = nothing)
I'm using the CellListSelect event to determine what value was chosen, and I am able to start running the other commands in my app based on that.
The problem is, when I choose a value from the valuelist, it gives the cell that value. I need to stop it from changing the cell's value with the option chosen from the valuelist, and I can't figure out how to do that.
Thanks for the help,
~Karen
I've run into another problem with this - The CellListSelect event does not fire if I choose the same option as the previous time I selected a value in the list. So it's not working to choose the same option twice. Ideas??
Thanks,~Karen
Hi Karen,
If you want the dropdown to act like a context menu, then why use a dropdown? Why not use a context menu?