ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2014-08-20 08:37:09

asparatu
Member
Registered: 2014-08-20
Posts: 196

Change the Tab and Enter key behave like excel

Hello,
I want to know how do set the tab and enter key behavior like in excel?

I would like for the Enter Key to go the next row and the tab key to go to the next column.

and i also want to know if plan on adding charts into the control?

Thank you,
Shane

Last edited by asparatu (2014-08-21 00:43:06)

Offline

#2 2014-08-21 01:28:27

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: Change the Tab and Enter key behave like excel

Hi Shane,

Currently it is impossible to change tab and enter key behavior, this will be submitted to implement as soon as possible, the next release will be available within one week.

Simple charts (line, column, stacked column and etc.) are planning to be added in the future edition (after three months).
https://github.com/unvell/plaingraph/wiki/Samples

Jing

Offline

#3 2014-08-21 01:41:31

asparatu
Member
Registered: 2014-08-20
Posts: 196

Re: Change the Tab and Enter key behave like excel

Ok.. Thank you.

Offline

#4 2014-11-18 19:39:09

benny
Member
Registered: 2014-11-18
Posts: 1

Re: Change the Tab and Enter key behave like excel

Hello,
Awesome control!
Is it already possible to make the Enter key go to the next row in the latest version (0.8.7.0) ?
If yes, how do you set this up?
Thank you!
Benny Rossaer

Offline

#5 2014-11-19 01:26:00

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: Change the Tab and Enter key behave like excel

Hi, thanks! There are several ways to change the key behaviors, if just want to set selection move to the cell in next row, just set the SelectionForwardDirection property of worksheet to 'Down':

// move down (cell in the next row)
worksheet.SelectionForwardDirection = SelectionForwardDirection.Down;

To customize Enter key completely, use the event 'BeforeCellKeyDown', please refer to here: http://reogrid.net/document/behavior/

The SelectionForwardDirection property provides the simplest way to change direction of Enter key, it works for both Move Forward(Enter) and Move Backward(Shift+Enter), when use the event BeforeCellKeyDown, it's necessary to handle the 'Shift+Enter' by programming.

Last edited by Jingwood (2014-11-19 01:31:02)

Offline

Board footer

Powered by FluxBB