Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
await db.updateStagingValue(value, result, rowIndex, colIndex, config)
}
/>
)
}
return (
castNull(result.values[row][col])}
loadingOptions={
view.loading
? [
TableLoadingOption.CELLS,
TableLoadingOption.COLUMN_HEADERS,
TableLoadingOption.ROW_HEADERS,
]
: []
}
>
{result.columns.map((name, colIndex) => (
(
<menu>
// <menuitem> {
// console.log('sort ascending', result)
// }} text="Sort Asc" />
// <menuitem></menuitem></menuitem></menu><table></table>
private getLoadingOptions() {
const loadingOptions: TableLoadingOption[] = [];
if (this.state.cellsLoading) {
loadingOptions.push(TableLoadingOption.CELLS);
}
if (this.state.columnHeadersLoading) {
loadingOptions.push(TableLoadingOption.COLUMN_HEADERS);
}
if (this.state.rowHeadersLoading) {
loadingOptions.push(TableLoadingOption.ROW_HEADERS);
}
return loadingOptions;
}
}
length
);
setColumns(nextChildren);
};
return (
{columns}
<table></table>
);
};