allow choice of gridview and detailview widgets