We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Comboxbox - How do I set the selectedindex value

Right now, I'm adding a combobox to a cell with the items and values specified.

Items = "USA" and "Canada"

Values = "1" and "2"

How do I pre-select USA in the drop-down so then, when I select USA from the drop-down, my CellSelectedIndexChanged event does not run?

I had been setting the cell's value to be "USA", but I don't think that's correct.

I was able to figure it out.

After adding the combobox, I created a combobox object and from that, I can use the SelectedIndex property.