Hi, I start to use extjs with rails, I begin with this tutorial : http://www.extjs.com/learn/Tutorial:Using_Ext_Grid_with_Ruby_on_Rails but the grid with data is not display in the screen,the file "grid-paging.js" in directory "/public/javascript/", i think that there is not the good directory for "grid-paging.js". the file list.rhtml is : <%= javascript_include_tag "grid-paging.js" %> <div id="movies_grid" style="border:5px solid #99bbe8; overflow:hidden; width:650px;"></div> Can any one help me for this. Thank''s -- Posted via http://www.ruby-forum.com/.
2009/10/11 Julien Julien <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>:> > Hi, > I start to use extjs with rails, I begin with this tutorial : > http://www.extjs.com/learn/Tutorial:Using_Ext_Grid_with_Ruby_on_Rails > > but the grid with data is not display in the screen,the file > "grid-paging.js" in directory "/public/javascript/", i think that there > is not the good directory for "grid-paging.js". > the file list.rhtml is : > <%= javascript_include_tag "grid-paging.js" %>Have a look at the html of your page (View Page source or similar in browser). Specifically have a look at the html generated by the javascript_include_tag. I think you might find the filename has an extra .js Colin> <div id="movies_grid" style="border:5px solid #99bbe8; overflow:hidden; > width:650px;"></div> > > Can any one help me for this. > > Thank''s > -- > Posted via http://www.ruby-forum.com/. > > > >