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 2015-11-24 02:18:50

adams_mfsor
Member
Registered: 2015-11-24
Posts: 11

关于表格中回车键的功能

在Excel中,当你输入完毕回车后,会自动将焦点设置在下一行。而ReoGrid输入回车后,移动到下一列。
请问可以改为像Excel那种功能吗?

Offline

#2 2015-11-24 03:46:49

oops
Moderator
Registered: 2015-11-03
Posts: 54

Re: 关于表格中回车键的功能

可以设置 Worksheet 的属性 SelectionForwardDirection 改变到下一列:

// 下一列 (cell in next column)
worksheet.SelectionForwardDirection = SelectionForwardDirection.Right;

// 下一行 (cell in next row)
worksheet.SelectionForwardDirection = SelectionForwardDirection.Down;

Offline

#3 2015-11-24 06:25:53

adams_mfsor
Member
Registered: 2015-11-24
Posts: 11

Re: 关于表格中回车键的功能

谢谢!

Offline

Board footer

Powered by FluxBB