For PR: patricklindsay/wice_grid#5
The auto_reload
feature is not working on initial page load because the wice grid js is not initialized.
Just run:
$ bin/setup
This will also seed the db with sample data.
Then fire up the web server: rails s
.
- Visit the home page
- You will see a table that is using wice grid (albeit unstyled)
- Try changing the
Status
select box, nothing will happen - Use a turbolink link on the page, like
New project
and thenBack
- Try changing the
Status
select box, it will work this time
If you try sorting before changing the status then it will initialize the wice grid too and the select box will work, I assume this is because the column heading links are turbolinks enabled.