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 2016-12-16 02:49:20

ReoGridFan
Member
Registered: 2016-12-16
Posts: 2

After selecting the Column / Row Header problem help....

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

#2 2016-12-16 07:48:22

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

Re: After selecting the Column / Row Header problem help....

Welcome to join! You may have to post the details of exception message so that we can help you faster.

Offline

#3 2016-12-16 09:00:05

ReoGridFan
Member
Registered: 2016-12-16
Posts: 2

Re: After selecting the Column / Row Header problem help....

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 big_smile

Offline

Board footer

Powered by FluxBB