Class PaginationController


  • public class PaginationController
    extends Object
    Keep synchronize Dynamia DataPaginator and ZK Paging component
    Author:
    mario
    • Constructor Detail

      • PaginationController

        public PaginationController​(org.zkoss.zul.Paging paging,
                                    tools.dynamia.commons.Callback callback)
        Parameters:
        paging -
        callback -
    • Method Detail

      • init

        public void init()
        You must call this method BEFORE the first query, normally at receive some event like onClick$query
      • update

        public void update()
        Re-synchronize the pagination. You must call this method AFTER the first query, normally at receive some event like onClick$query