Hi there,
I'm using virtual scroll and filtering on a dataTable with the scrollHeight property set.
Everything works fine except when the filter result returns a number of records which don't need scrolling, in that case a scrollbar is still displayed and when scrolling down the dataTable becomes empty and a exception occurs.
The desired solution would be not showing a scroll bar when there's no need to scroll.
I tried to update the dataTable on the filter event but when updating the parent object of the dataTable the whole tabled gets mashed up.
Can anyone help me out with this ?
Virtual scroll and filtering
Maybe 'peers' don't want to download the whole showcase, change it, compile it and run it... Especially since it is unclear how you do the filtering... So I personally don't attempt to reproduce for this reason.
So that is why PF asks about code in their 'PLEASE README topic' and in stackoverflow a https://stackoverflow.com/help/mcve is always requested.
And maybe it was (is) related to https://github.com/primefaces/primefaces/issues/2707
So that is why PF asks about code in their 'PLEASE README topic' and in stackoverflow a https://stackoverflow.com/help/mcve is always requested.
And maybe it was (is) related to https://github.com/primefaces/primefaces/issues/2707
-
- Information
-
Who is online
Users browsing this forum: No registered users and 26 guests