Hi all,
I'm trying to use jqgrid in ruby on rails to display a table, but I can't get it to display the data. If i go to http://127.0.0.1:3000/planets it only shows me the table heading.
If I go to http://127.0.0.1:3000/planets/grid_data however it does show the correct information (tho it complains “This XML file does not appear to have any style information associated with it. The document tree is shown below.” but I think that is normal).
I've tried various things but I just can't get it to work π
Here's what I think are the relevant bits of my source files. I cut out bits where I'm pretty sure that they don't matter but put […] to denote where I made cuts.
app/views/planets:
<%= jquery_grid :sample, {:url => grid_data_planet_url } %> doesn't
#using this doesnt work either: <%= jquery_grid :sample, {:url => “http://127.0.0.1:3000/planets/grid_data” } %>
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top