ekokotov / object-table

Angular directive to easy create dynamic tables from source or URL with sorting, filtering and pagination. Smart templates and good perfomance
BSD 3-Clause "New" or "Revised" License
171 stars 52 forks source link

Thead fixed #48

Closed admont28 closed 3 years ago

admont28 commented 5 years ago

Does anyone know how to make the header of the table fixed? Thanks.

ekokotov commented 5 years ago

@admont28 you can do it just with CSS. set max-height and overflow to table. Then add

    position: sticky;
    top: 0;

to thead th