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

Excel like behaviour expected of syncfusion grid cells

Thread ID:





118735 Apr 6,2015 07:32 AM UTC Apr 7,2015 02:21 PM UTC WPF 1
Tags: GridControl
Basavaraj Angadi
Asked On April 6, 2015 07:32 AM UTC

How do i get my Grid Textbox Control behave like excel.
When i click on a cell, the cell shows me the cursor, while in excel, the cell only gets selected and only when i double click, the cell shows up the cursor.
I want the same excel like behaviour to be exhibited by syncfusion cell. i.e only when i double click, the blink cursor should show up and when i single click on a cell, the cell should just be selected.

Note : on double Click the cursor should point to the location where I have clicked.

I had tried below 2 ways, but did not work as expected
1. this.grid.Model.Options.ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell;
2. this.grid.Model.Options.ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell | | GridCellActivateAction.PositionCaret;

With this code change the cell will be selected on double click but cursor points to the right side of the content.

I found similar thread -  response does not work as exactly as cell behaviour.

Kindly do the needful asap.

Deepak Kumar Nandagopal [Syncfusion]
Replied On April 7, 2015 02:21 PM UTC

Hi Basavaraj,

We have analyzed your query and based on your requirement we have prepared a sample by customizing the existing GridCellTextBoxRenderer in the CustomTextBoxCellRendererExt class in which you can able to point the cursor to the location you have clicked in the cell. You can download the sample in the below location.

Sample Location: http://www.syncfusion.com/downloads/support/forum/118735/CustomRenderer-664138469.zip


Deepak Kumar N


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