Skip to content

Data Paging

DataPaging provides page navigation UI for components that implement paging targets, including DataTableWidget and future data widgets.

DataPaging

It is commonly placed on the same GameObject as the widget it targets.

Inspector Fields

Field Description
Target Component that receives paging commands (for example DataTableWidget).
Page Size Number of rows/items shown per page.
Prev Optional button used to go to the previous page.
Next Optional button used to go to the next page.
Page Text Type Chooses whether Page Text uses TMP_Text or legacy Text.
Page Text Optional text component that displays current page and total pages.
Format Page label format string. Uses {0} for current page and {1} for total pages.
Disable Buttons At Ends Disables Prev/Next at first or last page.
Reset Scroll On Page Change Resets scroll position when changing pages.

FSM Actions

Use these actions to control paging from PlayMaker:

See Also