allow custom gridViewWidget and detailViewWidget