{flexRender(
header.column.columnDef.header,
- header.getContext()
+ header.getContext(),
)}
{{
asc: ' 🔼',
@@ -131,17 +130,21 @@ function ReactTableVirtualized() {
{virtualizer.getVirtualItems().map((virtualRow, index) => {
const row = rows[virtualRow.index] as Row
{flexRender(
cell.column.columnDef.cell,
- cell.getContext()
+ cell.getContext(),
)}
|
)
@@ -151,7 +154,8 @@ function ReactTableVirtualized() {
})}
|
---|
- For tables, the basis for the offset of the translate css function is from the row's initial position itself. Because of this, we need to calculate the translateY pixel count different and base it off the the index. + For tables, the basis for the offset of the translate css function is + from the row's initial position itself. Because of this, we need to + calculate the translateY pixel count different and base it off the the + index.