I am currently customizing the column display by passing some query parameters in the get request. By that i am setting conditions in the grid to display column or not.
For e.g:
if @value
g.column name: 'Name', attribute: 'name' ...
end
If value is set, will display the column.
I have many columns and i don't want to hide the columns using CSS, i just want to get the columns which are desired in every request.
I even dump the filter in the request as hidden fields.
This is working as well.
Note sure if this is the correct way to do it.
But i now want to save my other http query parameters along with the filters in the serialised query which gets created.
Can we do it ?
I am currently customizing the column display by passing some query parameters in the get request. By that i am setting conditions in the grid to display column or not.
For e.g:
If value is set, will display the column.
I have many columns and i don't want to hide the columns using CSS, i just want to get the columns which are desired in every request.
I even dump the filter in the request as hidden fields.
This is working as well.
Note sure if this is the correct way to do it.
But i now want to save my other http query parameters along with the filters in the serialised query which gets created.
Can we do it ?