set selected options in gridView from query params

If we have a dropdown filter in gridview header, this will select options (selected on previous page) on page load