We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

GridGroupingControl: exception in ComboBox cell

Thread ID:

Created:

Updated:

Platform:

Replies:

15648 Jun 24,2004 01:34 AM Jun 24,2004 02:41 PM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On June 24, 2004 01:34 AM

Hello! I bind datasource (dataset) to the control and change appearance of the cell as ComboBox and exclusive. After selecting value from combo box in one row, I select same value for another row, the message about constrainted field appears (dataset), then I press right mouse on the grid, the exception occures: ************** Exception Text ************** System.IndexOutOfRangeException: There is no row at position 1. at System.Data.DataView.GetRecord(Int32 recordIndex) at System.Data.DataView.IsOriginalVersion(Int32 index) at System.Data.DataRowView.GetColumnValue(DataColumn column) at System.Data.DataColumnPropertyDescriptor.GetValue(Object component) at Syncfusion.Grouping.CurrentRecordProperty.get_OriginalValue() at Syncfusion.Grouping.AddNewRecord.GetValue(FieldDescriptor fieldDescriptor) at Syncfusion.Windows.Forms.Grid.Grouping.GridTable.SetupAddNewRecordFieldCell(GridTableCellStyleInfoIdentity e, GridTableCellStyleInfo style) at Syncfusion.Windows.Forms.Grid.Grouping.GridTable.SetupStyleInfo(GridTableCellStyleInfoIdentity e, GridTableCellStyleInfo style) at Syncfusion.Windows.Forms.Grid.Grouping.GridTable.CreateTableCellStyle(Element element, Int32 rowIndex, Int32 colIndex) at Syncfusion.Windows.Forms.Grid.Grouping.GridTable.GetTableCellStyle(Int32 rowIndex, Int32 colIndex) at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.GetTableViewStyleInfo(Int32 rowIndex, Int32 colIndex) at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.GetViewStyleInfo(Int32 rowIndex, Int32 colIndex, Boolean forceQueryCellInfo) at Syncfusion.Windows.Forms.Grid.GridControlBase.GetViewStyleInfo(Int32 rowIndex, Int32 colIndex) at Syncfusion.Windows.Forms.Grid.GridControlBase.GetCellRenderer(Int32 rowIndex, Int32 colIndex) at Syncfusion.Windows.Forms.Grid.SelectCellsHitTestInfo..ctor(GridControlBase grid, MouseEventArgs e, IMouseController controller) at Syncfusion.Windows.Forms.Grid.GridSelectCellsMouseController.HitTest(MouseEventArgs e, IMouseController controller) at Syncfusion.Windows.Forms.MouseControllerDispatcher.HitTest(Point point, MouseButtons mouseButton, Int32 clicks, IMouseController& controller) at Syncfusion.Windows.Forms.ScrollControl.HitTest(Point point, MouseButtons mouseButton) at Syncfusion.Windows.Forms.Grid.Grouping.GridNestedTableControlCellRenderer.OnHitTest(Int32 rowIndex, Int32 colIndex, MouseEventArgs e, IMouseController controller) at Syncfusion.Windows.Forms.Grid.GridCellRendererBase.RaiseHitTest(Int32 rowIndex, Int32 colIndex, MouseEventArgs mouseEventArgs, IMouseController controller) at Syncfusion.Windows.Forms.Grid.SelectCellsHitTestInfo..ctor(GridControlBase grid, MouseEventArgs e, IMouseController controller) at Syncfusion.Windows.Forms.Grid.GridSelectCellsMouseController.HitTest(MouseEventArgs e, IMouseController controller) at Syncfusion.Windows.Forms.MouseControllerDispatcher.HitTest(Point point, MouseButtons mouseButton, Int32 clicks, IMouseController& controller) at Syncfusion.Windows.Forms.MouseControllerDispatcher.ProcessMouseMove(MouseEventArgs e) at Syncfusion.Windows.Forms.ScrollControllMouseControllerDispatcher.ScrollControlMouseMoveHandled(Object sender, MouseEventArgs e) at Syncfusion.Windows.Forms.ScrollControl.OnScrollControlHandledMouseMove(MouseEventArgs e) at Syncfusion.Windows.Forms.ScrollControl.OnMouseMove(MouseEventArgs e) at Syncfusion.Windows.Forms.Grid.GridControlBase.OnMouseMove(MouseEventArgs e) at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.OnMouseMove(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseMove(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg) at Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message& msg) at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.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)

Administrator [Syncfusion]
Replied On June 24, 2004 02:41 PM

Thanks for reporting this. This is also a bug. We are looking into it and we''ll get that fixed. Thanks, Stefan

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;