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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ActivateCurrentCellBehavior with each colum in GDBG, how to do ?

Thread ID:





23887 Jan 22,2005 07:17 AM UTC Jan 23,2005 11:58 PM UTC WinForms 2
Tags: GridControl
David Bosak
Asked On January 22, 2005 07:17 AM UTC

I want my GDBD have two column which have the different attribute Activate Current Cell Behaviors. For example: SetCurrent,and Select All. How to do that ?

Administrator [Syncfusion]
Replied On January 22, 2005 07:57 AM UTC

Try setting this.grid.ActivateCurrentCellBehavior = GridCellActivateAction.SetCurrent; Then handle the CurrentCellMoved event and if you are in the column where you want to selectall, explicilty do it.
private void gridDataBoundGrid1_CurrentCellMoved(object sender, GridCurrentCellMovedEventArgs e)
	GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell;
	if(cc.ColIndex == 2)
		GridTextBoxControl tb = cc.Renderer.Control as GridTextBoxControl;
		if(tb != null)

David Bosak
Replied On January 23, 2005 11:58 PM UTC

It works now. Thank you


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon