First implementation of table pagination widget.