The project contains a sWorkbookSource and grid. The grid is linked to the sWorkbookSource.
var
BestandenWB: TsWorkBook;
BestandenWS: TsWorkSheet;
begin
BestandenWSGrid: TsWorksheetGrid;
BestandenWB := TsWorkbook.Create;
BestandenWS := BestandenWB.AddWorksheet('Bestandenlijst');
sWorkbookSource.LoadFromWorkbook(BestandenWB);
BestandenWSGrid.Clear;
end;
The program generates a SIGSEGV on the statement BestandenWSGrid.Clear;
The last item on the stack points at fpspreadsheetgrid.pas(sourcevisual\) at row 6373, Function GETWORKBOOKSOURCE(0x0).
If I remove the last instruction, then the problem is gone.
Does that mean that, once the grid is linked to the workbooksource, I cannot work directly on the grid?