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.
I tried to open file that contains cell with spaces at the beginning (like " Hl - holidays").
That's what i received.
System.NullReferenceException: Object reference not set to an instance of an object.
at unvell.ReoGrid.IO.OpenXML.ExcelReader.AddRunIntoRichText(Document doc, RichText rt, Run r)
at unvell.ReoGrid.IO.OpenXML.ExcelReader.CreateRichTextFromRuns(Document doc, IEnumerable`1 paragraphs)
at unvell.ReoGrid.IO.OpenXML.ExcelReader.LoadWorksheet(IWorkbook rgWorkbook, Document doc, WorkbookSheet sheetIndex)
at unvell.ReoGrid.IO.OpenXML.ExcelReader.ReadStream(IWorkbook rgWorkbook, Stream stream)
at unvell.ReoGrid.IO.ExcelFileFormatProvider.Load(IWorkbook workbook, Stream stream, Encoding encoding, Object arg)
at unvell.ReoGrid.Workbook.Load(Stream stream, FileFormat fileFormat, Encoding encoding)
at unvell.ReoGrid.Workbook.Load(String path, FileFormat fileFormat, Encoding encoding)
at unvell.ReoGrid.ReoGridControl.Load(String path)
unvell.ReoGrid v.2.0.1.0
Offline
Can you provide a test file that causes the problem happen? thanks.
Offline