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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GGC editing active/currentcell

Thread ID:





30993 Jun 28,2005 06:27 PM UTC Jun 29,2005 08:28 AM UTC WinForms 2
Tags: Grouping
Luis Javier Mompart
Asked On June 28, 2005 06:27 PM UTC

hi there !!! first i have to give thanks for a nice job helping us to solve our issues, nice product to. well the point is, that i had implemented TableControlCurrentCellKeyDown event to handle my keyboard, lets look a piece of code: ... if(e.Inner.KeyCode == Keys.F2) { pos.Renderer.CurrentCell.BeginEdit(true); } ... works !!, de I beam gets inside de CurrentCell, but, there is a way to HighliT de text inside the cell?, NOTE: thanks Clay and Stefan, workload season troubles don´t let me answer your last mail thread, but your replays always makes my life easier !!

Administrator [Syncfusion]
Replied On June 28, 2005 11:55 PM UTC

Try code like:
private void gridGroupingControl1_TableControlCurrentCellKeyDown(object sender, GridTableControlKeyEventArgs e)
	GridCurrentCell cc = e.TableControl.CurrentCell;
	if(e.Inner.KeyCode == Keys.F2 && cc.Renderer is GridTextBoxCellRenderer)
		TextBoxBase tb = ((GridTextBoxCellRenderer)cc.Renderer).TextBox;
		e.Inner.Handled = true;

Luis Javier Mompart
Replied On June 29, 2005 08:28 AM UTC

works !! thanks.


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