changing the flexgrid