cancel
Showing results for 
Search instead for 
Did you mean: 

fix the data-column header from scrolling

rranjith89
Champ in-the-making
Champ in-the-making

I have a data-column which scroll both x and y direction. Problem here is, it scrolls along with the header. I want to Data-column header to be fixed for scrolling in x direction(Vertical).

Is there any way to do this?

3 REPLIES 3

silversky
Champ on-the-rise
Champ on-the-rise

There is a property called 'stickyHeader' in the properties of DataTable component. Can this be achieved using this property?

rranjith89
Champ in-the-making
Champ in-the-making

[stickyHeader]="true" This seems to be not working for me. Browser doesn't load my application.

dvuika
Star Collaborator
Star Collaborator

You should apply the "stickyHeader" property to the DataTable or DocumentList component. I belive it was added in ADF 3.4.0. See example here.

If you still experience issues, please specify the version of ADF you are using and what kind of errors you see in the console log, and how to reproduce the issue.

Getting started

Explore our Alfresco products with the links below. Use labels to filter content by product module.