I have three cells with ‘Combobox” as their celltype in GDBG. I am using the following code for the combobox. Please see the code in attached file.
Problem:
If I don’t click on any cell on Column #1 and Column #2, then my Dropdown on column #3 works with no problem.
But If I click on any cell of Column # 1 OR Column #2 first (basically click on dropdown list) then click on any cell of Column #3 I get the following error message.
Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Stack Trace: at Syncfusion.Windows.Forms.Grid.GridComboBoxCellModel.GetItemValue(Object dataSource, String valueMember, Object item)
at Syncfusion.Windows.Forms.Grid.GridComboBoxCellRenderer.SynchronizeDisplayText(Int32 index)
at Syncfusion.Windows.Forms.Grid.GridComboBoxCellRenderer.ListBoxMouseUp(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
at Syncfusion.Windows.Forms.Grid.GridComboBoxListBoxPart.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ListBox.WndProc(Message& m)
at Syncfusion.Windows.Forms.Grid.GridComboBoxListBoxPart.WndProc(Message& msg)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Please provide some help.
thanks,
combobox0.zip