@rtdui/datatable
Version:
React DataTable component based on Rtdui components
15 lines (12 loc) • 376 B
JavaScript
'use client';
;
function shouldElevation(table, column, scrolling) {
const leftPinned = table.getState().columnPinning.left;
const index = leftPinned.findIndex((d) => d === column.id);
if (index === leftPinned.length - 1) {
return scrolling;
}
return false;
}
exports.shouldElevation = shouldElevation;
//# sourceMappingURL=shouldElevation.cjs.map