Add vertical scroll bar in Data table ( component)

is there any way to add vertical scroll bar in data table component?

1 Like

The easiest solution is to give the table a max-height and add overflow:auto to the Y axis

.table-responsive {
    max-height: 400px;
    overflow-y: auto;

Here’s a more complex solution to read over -

I can try to make a working demo if you’d like.

it works ! Thx Tim !

is there anyway to freeze the pane of “header” of the datatable?

Yes, but it’s much more complicated. This explains the process but the code will need to be modified.