31 Oct 2012, 16:14
Generic-user-small

Matthew Grecar (3 posts)

I’m using dojo-release-1.8.1, FYI. I’ve learned that I ought to be using dojox.grid.EnhancedGrid, and that at least gets the data to display.

However, the grid row contents seem to be overlaid in the upper left of the screen, while the header row and style elements seem to draw as I would expect. It’s as if the content rows are not living inside the table but instead are added on top, separately.

Also, there are 2 checkboxes displayed in the grid, which I don’t quite understand.

Any ideas? It feels like a stylesheet issue, but my CSS fu is rather week.

31 Oct 2012, 16:20
Generic-user-small

Matthew Grecar (3 posts)

Actually, I found the answer in the Errata section:

Change the @import statement for the grid style to: @import “/dojoroot/dojox/grid/resources/tundraGrid.css”;

Change all references to DataGrid, instead of Grid: dojo.require(“dojox.grid.DataGrid”);

After I made those changes, it all looks great!

  You must be logged in to comment