ComboCellType and Choose twice

Posted by: cvetx on 8 September 2017, 2:03 pm EST

  • Posted 8 September 2017, 2:03 pm EST

    I created a combobox for a column like below and there will be a data from data source for the column as well.
    Everything looks fine except choosing a different value from the combobox. 
    Default value of column 9 is "60", so I tried choose a value "30" by clikcing it but it showed me "60". I go to the cell and choose "30" by click again, then that changed as "30".

     I tried with a cell that has a value of "30" to change it as "0". I had to tried to choose it twice.

     Any idea with this matter?

            Dim cbstr As String()
            cbstr = New String() {"0", "30", "60"}
            Dim cmbocell As New FarPoint.Win.Spread.CellType.ComboBoxCellType()
            cmbocell.Items = cbstr
            cmbocell.AutoSearch = FarPoint.Win.AutoSearch.SingleCharacter
            cmbocell.Editable = False
            cmbocell.MaxDrop = 3
            FpSpread1.ActiveSheet.Columns(9).CellType = cmbocell

  • Replied 8 September 2017, 2:03 pm EST


    Using the latest build of Spread for Windows Forms, I am not able to reproduce the issue as reported by you.I have data in Spread from a DataSource.

    When I click on the DropDown for the ComboBox and Select "30" it doesn't show "60" it shows "30" only in the Selected Value box.

    Could you post a small zipped project replicating the issue described by you, you may also test this with the Latest Build of Spread for Windows Forms.







Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels