Home >Web Front-end >JS Tutorial >dojo notes gird component reference_dojo
I created a file with the code of
Cigar | Length/Ring | Origin | Wrapper | Shape |
---|
The page that comes out at this time has no effect. Open firebug and take a look: dojox.grid.Grid 404 not Found!!
What is going on? I opened the dojoroot/dojox/grid/ directory and found no Grid.js file, only _Grid.js
So I changed dojox.grid.Grid to dojox.grid._Grid. This time I didn’t say I couldn’t find it, but another inexplicable problem occurred
Is there something wrong with the dojo I downloaded? 1.5 from the official website. Later, I thought about it. As a popular library, dojo’s calls should not be as strange as dojox.grid._Grid. Then I found that there is compatGrid.tar.gz in the grid directory. package (shown in the screenshot of the document directory above), grid.js was found in it, and it was decisively extracted to the current directory. Try it again and it works!!!