Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoadCSV fails used with MemoryWorkbook #383

Closed
KeiBontakun opened this issue Feb 16, 2021 · 2 comments
Closed

LoadCSV fails used with MemoryWorkbook #383

KeiBontakun opened this issue Feb 16, 2021 · 2 comments

Comments

@KeiBontakun
Copy link

Describe the bug
Used with MemoryWorkbook LoadCSV throws System.NullReferenceException.
CSV.cs Line 126 has following code and controlAdapter is null.

this.controlAdapter.ChangeCursor(CursorStyle.Busy);

To Reproduce

var grid = ReoGridControl.CreateMemoryWorkbook();
var sheet1 = grid.Worksheets[0];
sheet1.LoadCSV(file,Encoding.ASCII);

Expected behavior
LoadCSV succeeds like Load() Method.

Edition
Which edition of ReoGrid do you using?

  • Windows Form
  • ReoGrid 2.1.0.0

Environment (please complete the following information):

  • OS: Windows 10
  • Language of OS: English

Additional context
Add any other context about the problem here.

@jingwood
Copy link
Member

jingwood commented Feb 17, 2021

Thanks! This should be fixed.

@KeiBontakun
Copy link
Author

Thanks, great job!

datadiode added a commit to datadiode/ReoGrid that referenced this issue May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants