BootsFaces-OSP icon indicating copy to clipboard operation
BootsFaces-OSP copied to clipboard

lazy dataTable

Open chongma opened this issue 6 years ago • 2 comments

i am using primefaces for lazy data tables and while i love prime i miss the bootsfaces look. it would be fairly easy to write a lazy loader wrapper similar to

import org.primefaces.model.LazyDataModel;
import org.primefaces.model.SortMeta;
import org.primefaces.model.SortOrder;

but i am not sure how easy it is to integrate into datatables.net

we could even build it on top of primefaces components?

i don't really want to rip off their stuff but it seems like a necessary feature?

chongma avatar Oct 30 '18 18:10 chongma

The closest thing to lazy loading on DataTables.net I could find is https://datatables.net/examples/server_side/pipeline.html

Edit: even simpler: https://datatables.net/examples/server_side/simple.html

Not too sure though if this would be useful in a JSF component...

jepsar avatar Oct 31 '18 21:10 jepsar

@jepsar thanks. i didn't think to search the datatables.net website. those examples look like they would plug into a prime type lazy data model. we need to consider which attributes would need to be added to b:dataTable to control it

chongma avatar Nov 01 '18 18:11 chongma

I'm afraid development of BootsFaces has slowed down considerably. We'll never manage to address this issue. Let's close it.

stephanrauh avatar Aug 12 '24 15:08 stephanrauh