S-table is missing paginationLabel attribute and functionality

The App Home Polaris web components Index table composition shows a paginationLabel on the s-table component where one can put text like “Page 1 of 4” and things like that. It’s a useful feature! However, paginationLabel does not in fact exist as a valid attribute for the component – so it doesn’t work and the code as given in the docs does not type check (when types are used).

I’d like to see the paginationLabel actually implemented. Without it, the pagination UX is quite limited and any context on which page or items are displayed has to be shown outside the table somewhere.

Which is kinda sad because there’s plenty of space down where the pagination controls are for this sort of info – but it’s completely inaccessible now. And whoever wrote that composition seems to have understood this would be a good idea (and maybe that it would be implemented).

There’s also a slot="bulkActions" in one of the examples – but such a slot does not exist.

Hey @_Ryan, thanks for flagging both of these. I’ve confirmed the examples are incorrect and flagged them for review.

For bulk actions, you can use the filters slot to show selection information and action buttons when rows are selected. The migration guide has an example of that.

I’m also checking on your request for page/item counts alongside the built-in pagination controls. I’ll follow up here when I have an update on that.

Hey @_Ryan, the Index table examples have now been corrected. The pagination example no longer uses paginationLabel, and the bulk-actions example now uses the filters slot.

I don’t have a confirmed update yet on adding page/item labels alongside the built-in pagination controls.

Ok, good to have those updated. I do hope the labels can be implemented, though.