oria / gridx

Just another powerful Dojo grid
Other
162 stars 78 forks source link

Support issue: u.specificty is undefined. #399

Closed Sluimers closed 7 years ago

Sluimers commented 7 years ago

There's no help forum or channel that I know of, so I'll ask here.

I'm trying to integrate Gridx into my project that uses another application. And this is causing a bit of a problem, because this other application cannot find

I have the following code:

define([
    "dojo/_base/declare",
    "mxui/widget/_WidgetBase",
    "dijit/_TemplatedMixin",

    "mxui/dom",
    "dojo/dom",
    "dojo/dom-prop",
    "dojo/dom-geometry",
    "dojo/dom-class",
    "dojo/dom-style",
    "dojo/dom-construct",
    "dojo/_base/array",
    "dojo/_base/lang",
    "dojo/text",
    "dojo/html",
    "dojo/_base/event",

    "MyGrid/lib/jquery-1.11.2",
    "MyGrid/lib/gridx/Grid",
    "MyGrid/lib/gridx/core/model/cache/Sync",
    "MyGrid/lib/dstore/Memory",
    "dojo/text!MyGrid/widget/template/MyGrid.html"

], function (declare, _WidgetBase, _TemplatedMixin, dom, dojoDom, dojoProp, dojoGeometry, dojoClass, dojoStyle, dojoConstruct, dojoArray, dojoLang, dojoText, dojoHtml, dojoEvent,
            _jQuery, Grid, gridxCache, dstoreMemory, widgetTemplate) {
...
    return declare("MyGrid.widget.MyGrid", [ _WidgetBase, _TemplatedMixin ], {
...        
                this._grid = new Grid({
                    cacheClass: gridxCache,
                    store: gridStore,
                    structure: gridColumns
                }, this.gridNode);
                grid.startup();
...

And I get this error:

u.specificity is undefined

And this one:

404 - file not found for file: mxclientsystem/gridx/nls/gridx.js

Sluimers commented 7 years ago

Never mind.