Have you seen our video tutorials? Check 'em out!

TableBuilder::$actions : Select All

kiltedup - 1 month ago

Hi,

Have been using the TableBuilder actions - does anyone know a way to make this work on ALL rows and not just the ones selected in the current pagination page.

Alternatively, is there a way to add a filter to override the default number of rows per page. Sort of like

Records per page : 15 30 All

TIA

Dave

ryanthompson - 1 month ago

Hi here! I don't have a delete all action but you could easily make one. It's basically a button with a handler if you check out the docs on it.

I don't have number of results option other than via API but I am planning on adding it.

ryanthompson - 1 month ago

Sorry might have misunderstood - select all or applying to all can be done too using a custom action. Jus ignore the selected ids passed and just use the model from the builder.

kiltedup - 1 month ago

Thanks Ryan. Have sorted via a different approach.

The ideal scenario was the "number of results option" so that "ALL" could be selected, and then handler to manage the entries selected (from the entire list)

All good for now though.