added select length page for grid.