I am trying to create a fixed data table that should be always freezed( top) on scroll? Can someone help me with this? I have tried
style={position: fixed} for the data table that didn’t help. Any suggestions would be appreciated
I am trying to create a fixed data table that should be always freezed( top) on scroll? Can someone help me with this? I have tried
style={position: fixed} for the data table that didn’t help. Any suggestions would be appreciated
No, I am trying to freeze the complete table
See fixed_rows parameter in DataTable. Documentation here.
fixed_rows
( dict ; default{ headers: false, data: 0 }
):fixed_rows
will “fix” the set of rows so that they remain visible when scrolling vertically down the table.fixed_rows
fixes rows from top-to-bottom, starting from the headers. Ifheaders
is False, no rows are fixed. Ifheaders
is True, all header and filter rows (seefilter_action
) are fixed. Additional data rows can be fixed by assigning a number todata
Try using that parameter. If it doesn’t work, let me know.