[minicrm] refactored tablepages to work with PageData