Datalist with fixed header on scroll

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2016 05:29 PM
I have seen a perfect solution in JQuery to fixe header of table on scroll on a html page (for example). But, I don't know if I can do this on Alfresco and how to apply this to my datalists.
The wanted result : http://jsfiddle.net/jmosbech/stFcx/
I Hope it is possible with my version of Alfresco . Somebody have an idea? Is it feasible?
I am using Alfresco 4.2.f on Windows 64 bits Windows Server
PS : it seems I can use Infinite Scroll Area, but can I use it in AC 4.2.f? Where can I found a example of use in existing widgets?
http://dev.alfresco.com/resource/docs/aikau-jsdoc/InfiniteScrollArea.html
Thank you !
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2016 05:20 AM
You won't be able to use the InfiniteScrollArea widget in Alfresco 4.2 because it is part of the external Aikau project that is only available for use in Community 5.0.d and Enterprise 5.0.1 onwards.
We don't actually have the ability to have fixed headers on lists at the moment, but there is a more generic FixedHeaderFooter widget which (as the name suggests) allows you to have a layout with a fixed position header and/or footer with a central section that scrolls. You could place a list inside the central section and have an empty list in the header.
This wouldn't be an optimal solution - an option that is always available is to raise a feature request as an issue on the Aikau project or better yet submit a pull request that provides the capabilities that you want added. Contributions will be accepted as long as they meet the acceptance criteria and the unit tests pass.
