You are not logged in.
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.
Hi, I'm just starting to learn programming, it's a little hard...
I do not know if this is the right question.
Anyway, I want to solve this problem, so I ask a question here.
------------------------------------
After selecting the Column / Row Header, pressing the alphabet key (such as "a" key) on the keyboard will cause an Exception.
What I want to do is change the entire Column / Row value, what should I do?
I want to solve this Exception first. Help me, please !! =D
Offline
Welcome to join! You may have to post the details of exception message so that we can help you faster.
Offline
Appreciate your fast reply, and here is my test code :
public Form1()
{
InitializeComponent();
grid.SetSettings(unvell.ReoGrid.WorkbookSettings.View_ShowSheetTabControl, false);
var sheet = grid.CurrentWorksheet;
sheet.SelectionStyle = unvell.ReoGrid.WorksheetSelectionStyle.FocusRect;
sheet.SelectionForwardDirection = unvell.ReoGrid.SelectionForwardDirection.Down;
}
####
I just clicked row/column header and hit the "a" key, and returned the stack trace message as follows :
Location: unvell.ReoGrid.Worksheet.StartEdit(Cell cell, String newText)
Location: unvell.ReoGrid.Worksheet.StartEdit(Int32 row, Int32 col, String newText)
Location: unvell.ReoGrid.Worksheet.StartEdit(CellPosition pos, String newText)
Location: unvell.ReoGrid.Worksheet.StartEdit(String newText)
Location: unvell.ReoGrid.ReoGridControl.ProcessDialogChar(Char charCode)
Location: System.Windows.Forms.Control.PreProcessMessage(Message& msg)
Location: System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
Location: System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
Location: System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
Location: System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
Thank you very much
Offline