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

cell textbox activation

Thread ID:





95967 Aug 12,2010 01:02 PM UTC Aug 23,2010 08:22 AM UTC WPF 1
Tags: GridControl
Joe Ward
Asked On August 12, 2010 01:02 PM UTC

When you're in a cell, and you tab to another cell with existing text, then start typing, the existing text is replaced with whatever you type.

However, when you click on a cell, the cursor is inserted into the existing text where you clicked. For example, if the cell contains "Hello World", and you click on the cell just over between the "W" and "o", that's where your cursor shows up, and anything you type is inserted into that place in the string.

How can I set the cell such that it behaves as if you tabbed to it when you click on it, so that when the user starts typing, the existing text is wiped clean?

Muthulakshmi N [Syncfusion]
Replied On August 23, 2010 08:22 AM UTC

Hi Joseph,

Thank you for your details.
we have modified the “GridCellTextBoxRenderer.cs” file based on your request
also prepared a workarround sample which illustrates your request. Please download the sample from the below location.


C# code for add new cell type to GridControl:

this.grid.Model.CellModels.Add("TextBox", new CustomGridCellTextBoxModel());

Let us know if you need any details.



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