Update _widget.htm

fixed partial throwing exception when no $rows are available, this fixes #1