fix financial statements.

This commit is contained in:
Ahmed Bouhuolia
2020-05-25 09:07:07 +02:00
parent ab21f439e2
commit 5369b3661a
10 changed files with 63 additions and 100 deletions

View File

@@ -157,6 +157,10 @@ function GeneralLedgerTable({
() => defaultExpanderReducer(generalLedgerTableRows, 1),
[generalLedgerTableRows]);
const rowClassNames = (row) => ([
`row-type--${row.original.rowType}`,
]);
return (
<FinancialSheet
companyName={companyName}
@@ -171,10 +175,13 @@ function GeneralLedgerTable({
columns={columns}
data={generalLedgerTableRows}
onFetchData={handleFetchData}
rowClassNames={rowClassNames}
expanded={expandedRows}
virtualizedRows={true}
fixedItemSize={37}
fixedSizeHeight={1000} />
fixedSizeHeight={1000}
expandable={true}
expandToggleColumn={1} />
</FinancialSheet>
);
}