UberGrid Installation
UberGrid Installation
Hi guys,
I've been trying to get the licensed version working with Sencha touch, any help would be appreciated.
Sencha Touch version - 2.1.1
Ubergrid version - 1.0.3
Folder structure - Changes I've made so far -
1. Configured loader path in app.js
2. Added ubergrid src in app.json
3. Added ubergrid src files in index.html
There is no code to utilize the functionality of ubergrid in the app yet, this is the error received when trying to load the ubergrid source
Thanks
I've been trying to get the licensed version working with Sencha touch, any help would be appreciated.
Sencha Touch version - 2.1.1
Ubergrid version - 1.0.3
Folder structure - Changes I've made so far -
1. Configured loader path in app.js
Code: Select all
// <debug>
Ext.Loader.setPath({
'Ext' : 'touch/src',
'UberGrid': 'ubergrid',
'MarketAnalyzer' : 'app'
});
// </debug>
Code: Select all
"js": [
{
"path": "touch/sencha-touch-all-debug.js",
"x-bootstrap": true
},
{
"path": "ubergrid-all-debug.js"
},
{
"path": "app.js",
"bundle": true, /* Indicates that all class dependencies are concatenated into this file when build */
"update": "delta"
}
],
Code: Select all
<!-- The line below must be kept intact for Sencha Command to build your application -->
<script id="microloader" type="text/javascript" src="touch/microloader/development.js"></script>
<script src="touch/sencha-touch-all-debug.js" type="text/javascript"></script>
<script src="ubergrid-all-debug.js" type="text/javascript"></script>
There is no code to utilize the functionality of ubergrid in the app yet, this is the error received when trying to load the ubergrid source
Thanks
Re: UberGrid Installation
Sounds like your build system has introduced a BOM character or something else. Open the built JS files in your IDE and see what the warning is about.
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog
@bryntum
Facebook
API documentation
@bryntum
API documentation
Re: UberGrid Installation
Hey Mats,
Thanks for the reply, got it working.
Thanks for the reply, got it working.
Re: UberGrid Installation
Curious, what was the issue?
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog
@bryntum
Facebook
API documentation
@bryntum
API documentation
Re: UberGrid Installation
I was missing the required : ['UberGrid.Panel', 'UberGrid.column.Date'] decleration. Also, the IDE (Eclipse with Tomcat) wasn't copying over the UberGrid files in the runtime path, so I had to copy these manually. I also removed the ubergrid source file links from index.html and app.json, setting the Ext.Loader.setPath for UberGrid was sufficient.