View Full Version : [FIXED] [GXT 2.0 M2] JavaScriptException TypeError when using grid.mask(String)

2 Jun 2009, 8:47 AM
I just updated from M1 to M2 and noticed that some code that was previously working stopped working.

// initialize the grid that will contain our probe metadata
final Grid<Model> probeMetadataGrid = new Grid<Model>(
new ListStore<Model>(this.loader),
new ColumnModel(columns));
probeMetadataGrid.mask("Run Query For Data");
I have to remove the last line of masking code for the app to work in M2 (both versions work fine in M1)

What I'm trying to do is initialize a grid with just header columns and no rows with a mask that tells the user that they have to run a query before they'll see any data. The page loads in M2 without errors, but the mask does not appear as it does in M1. After running the default query anyway I get the attached exception (sorry, but GWT is not allowing cut and paste for some reason on my Mac) which does not happen in M1 either.

This is not a high priority issue for me since it's acceptable to just not have the initial mask over my grid, but I wanted to let you know.


2 Jun 2009, 3:12 PM
Fixed in SVN.