added enableSelectAllView option