PageNumber Extension
Hey Kodular Community!
I’m excited to introduce a new extension called PageNumber designed to simplify list filtering based on page numbers. This extension is perfect for managing large datasets and displaying them in a paginated format.
Features:
- Filter a list based on the specified page number.
- Calculate the total number of pages based on items per page.
- Set and retrieve the current page number.
- Customize the number of items per page.
How to Use:
- Initialize the extension in your project.
- Use the
FilterListByPage
function to filter a list based on the page number. - Utilize the
CalculateTotalPages
function to get the total number of pages. - Set or get the current page number with
SetCurrentPage
andGetCurrentPage
functions. - Adjust the number of items per page using the
SetItemsPerPage
function. - Receive filtered list events through the
FilteredPageList
event.
List of Blocks:
Example Use:
Download Link:
com.rasitech.pagenumber.aix (6.9 KB)
Feel free to test it out and let me know your feedback! If you encounter any issues or have suggestions for improvements, please drop a comment below.
Happy coding!