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.

activate a cell in a GridListControl inside a grouping grid control

Thread ID:

Created:

Updated:

Platform:

Replies:

90463 Oct 2,2009 05:27 AM Oct 7,2009 09:08 AM Windows Forms 3
loading
Tags: GridControl
Adrien Falconnet
Asked On October 2, 2009 05:27 AM

I would like to set ActivateCurrentCellBehavior to GridCellActivateAction.ClickOnCell in a GridListControl inside a grouping grid control. This case is based on a "ChildRelationDescriptor" (see the Multiple Column Foreign-Key Demo) I have previously initialized. And I want to activate the cells in this GridListControl. In this last control, the first cell is activated but not the other. Why ? Is it a bug of the component ? I forgot to say that I have activated the edit/new/delete mode by :
parentToChildRelationDescriptor.ChildTableDescriptor.AllowRemove = true; parentToChildRelationDescriptor.ChildTableDescriptor.AllowEdit = true; parentToChildRelationDescriptor.ChildTableDescriptor.AllowNew = true;

An other thing : when I have 2 columns in this GridListControl, the first column is not entirely activated (see above) in the opposite of the second column. Why ?

Thanks for your response.
Adrien.

Adrien Falconnet
Replied On October 2, 2009 05:31 AM

To refer to the end of the previous post, I would like to say that the second column works perfectly when the first column is not entirely activated.

Adrien Falconnet
Replied On October 5, 2009 06:57 AM

I would like to know too if it's possible to delete items in a GridListControl within a grouping grid control.
Thanks.

Jisha Joy [Syncfusion]
Replied On October 7, 2009 09:08 AM

Adrien,

There is no property setting available to delete items in the GridListControl within a grouping grid control. You could handle TableControlCurrentCellShowingDropDown event and modify the drop down datasource there.

void gridGroupingControl1_TableControlCurrentCellShowingDropDown(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCurrentCellShowingDropDownEventArgs e)
{
GridDropDownGridListControlCellRenderer cr = e.TableControl.CurrentCell.Renderer as GridDropDownGridListControlCellRenderer;
if (cr != null)
{
//
}
}

Let me know if you have any questions

Regards,
Jisha

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.

;