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.

General GGC problem - need to work it around urgently somehow

Thread ID:

Created:

Updated:

Platform:

Replies:

54099 Dec 29,2006 08:40 AM Jan 5,2007 09:02 AM Windows Forms 6
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On December 29, 2006 08:40 AM

I found general Grid Grouping Control (GGC) problem which causes my app to expect serious troubles

It happens if we use GGC with DataSet set as a datasource and several tables in that DataSet. When just opened form collapse all tables.

Then expand them sequentially from the bottom to the top (expanding order is important). Last expanded in that way table expects some troubles:
=> try to edit any field - grid works not stable (when user is trying to edit one cell - another cell is
edited, or just entered value disappears).
and I can't edit cell by single mouse click.

I added a simple application to show this problem. Not all problems appear here, but cell editting doesn't start on the bugged table cell click - this is how You can see the problem here.

Hope to get a solution, thank you

KonstantinGGCTestingSample.zip

Administrator [Syncfusion]
Replied On January 3, 2007 01:12 AM

Hi Konstantin,

You can handle the TableControlCellClick event and move the current cell at specified position with editing mode. Please refer to the below code snippet for more details.

grid.TableControlCellClick += new GridTableControlCellClickEventHandler(grid_TableControlCellClick);

void grid_TableControlCellClick(object sender, GridTableControlCellClickEventArgs e)
{
e.TableControl.CurrentCell.MoveTo(e.Inner.RowIndex,e.Inner.ColIndex,GridSetCurrentCellOptions.SetFocus);
}

Best Regards,
Haneef

Administrator [Syncfusion]
Replied On January 3, 2007 09:49 AM

Well, this helps, but causes much more trouble. I have modified my example to show the trouble clearly (exactly as in my app)

1. Open application
2. Expand tables sequentially from the bottom to the top (expanding order is important).
3. Last expanded in that way table expects some troubles:
=> try to edit any field, click other field - changes are discarded.

I can see this is a grid trouble as I used no additional handlers in this example. This needs solving urgently in my app.

I would appreciate your help. Thank you.

Sample213.zip

Administrator [Syncfusion]
Replied On January 3, 2007 11:38 AM

Problems are happening in MultiExtended (AND in MultiSimple) ListBoxSelectionMode which is set by:

this.grid.TableOptions.ListBoxSelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;

So I suppose problems are somehow connected with multiselection functionality.

Administrator [Syncfusion]
Replied On January 4, 2007 05:30 AM

So, does anyone have any idea how to solve this issue?

Administrator [Syncfusion]
Replied On January 4, 2007 07:09 AM

Hi Konstantin,

I have forwarded the issue to our development team. I will let you know the details once I hear back from them. Sorry for the inconvenience caused.

Thanks for your patience.

Best Regards,
Haneef

Administrator [Syncfusion]
Replied On January 5, 2007 09:02 AM

Hi Konstantin,

Your incident #30867 has been updated. Please refer to your incident for more details.

Thanks for your patience.

Best Regards,
Haneef

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.

;