Extjs with rails

Hi,
I start to use extjs with rails, I begin with this tutorial :

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” %>

Can any one help me for this.

Thank’s

2009/10/11 Julien J. [email protected]:

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs