Hello Friends,
Welcome back with another post on PowerApps. In last post we had created screen and implement pagination (Previous/Next) on Gallery. You may visit my last post by clicking on below link-
Now we will create Pagination On Dat Table. For this we will use the screen "ScreenTableView".
For this, there is no change between Grid & Data Table except the page per records. In gallery, we have gallery height as well as individual template height to calculate the number of records that can be displayed in grid without scroll. But as Data Table is a ReadOnly control, it does not provide any way to get the individual row height so that we can calculate the total number of records that can be displayed in table. therefore, we will replace the code to get records per page as below-
- For Grid control it was-
GalleryDailyTasksGrid.Height / GalleryDailyTasksGrid.TemplateHeight
- For DataTable it would be replaced by-
DataTableDailyTaskTable.Height / 50
With this, I am concluding this post.
Happy Coding !!!
Will see you again with some new topics.
Stay Safe !
Stay Healthy !
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.