I though PrimeFaces could handle this, e.g. with https://www.primefaces.org/showcase/ui/data/datatable/lazy.xhtml. I haven’t tried anything, just looked at docs, and I don’t know if the effort to switch to a lazy model would be worth the effort (if we’re not using it now), but it might be worth checking out.
-- Jim
--
You received this message because you are subscribed to the Google Groups "Dataverse Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
dataverse-de...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dataverse-dev/CABFhGt%3DVmkZvV17F2p1CKGsw16pq7e-u8xc9Mk2yF16xZx3%3Djw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-dev/MN2PR07MB73433B21E0DB0B59DC507478BF4D9%40MN2PR07MB7343.namprd07.prod.outlook.com.
Peter,
That could just be a limit of their LazyCustomerDataModel load method which retrieves the number of items and then sorts. If that method passed the sort param to the db instead, the widget might do what’s needed. If so, it’s definitely a bad example!
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-dev/CABFhGtn8NVKXWTynyDKskxuWLokfYE1KSv0fz3DEYYqKaf4X4A%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-dev/CABFhGtn8NVKXWTynyDKskxuWLokfYE1KSv0fz3DEYYqKaf4X4A%40mail.gmail.com.