leikind / wice_grid

A Rails grid plugin to create grids with sorting, pagination, and (automatically generated) filters
MIT License
537 stars 213 forks source link

Passing Filter results onto second form #133

Closed Seaborg closed 10 years ago

Seaborg commented 10 years ago

It's more like question than an issue. I have couple of forms with different attributes but all connected by patients ID and DOB (these 2 columns are in all of them). Now I want to preserve state of one form and pass onto another. This could look like http://wicegrid.herokuapp.com/integration_with_forms but instead of passing the state of all filters I'd like to pass only ID's onto another form. 'wice_grid', '3.3.1

Not sure how this could be done. I'd appreciate any comments.

Seaborg commented 10 years ago

Actually I was able to use :conditions => params[:g1][:f][:zzz] Thanks. I can not stress enough how great and helpful that gem is!!! Great work!