Ext.ux.grid has no properties error

Problem
Trying to use ExtJS with RubyOnRails on Heroku, gives the following error and a blank page in Firebug.

Ext.ux.grid has no properties
...
Line 141

Solution
In Heroku, you will probably have to manually upload the files from the ExtJS library, as well as the ext_scaffold plugin.
When you do that, two files that ext_scaffold needs, and which they should be located in ext_scaffold/assets/javascripts should be copied to public/javascripts.
The files are:

ext_datetime.js
ext_searchfield.js

2 thoughts on “Ext.ux.grid has no properties error

  1. Couple of comments. In order to get this to work I needed to copy the files ext_datetime.js and ext_searchfield.js from vendor/plugins/ext_scaffold/assets/javascripts/ to public/javascripts/ within my rails project.

    Thanks for pointing me in the general direction. I was totally lost as to how to fix this otherwise!

  2. Thanks for the comment slmingol.

    It was probably a typo in the post and the second file should have been ext_searchfield.js as you have pointed out.
    Original post corrected :-)

Leave a Reply