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.

Excel like behaviour expected of syncfusion grid cells

Thread ID:

Created:

Updated:

Platform:

Replies:

118735 Apr 6,2015 03:32 AM Apr 7,2015 10:21 AM WPF 1
loading
Tags: GridControl
Basavaraj Angadi
Asked On April 6, 2015 03:32 AM

Hi,
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.
http://www.syncfusion.com/forums/59494/excel-like-behaviour-expected-of-gcc-cells

Kindly do the needful asap.

Deepak Kumar Nandagopal [Syncfusion]
Replied On April 7, 2015 10:21 AM

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


Regards,

Deepak Kumar N


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.

;