evanhw/gridx — pull request #8 by tmorin (2012-08-15 08:40:05+00:00)
Title: module RowHeader and dialog

Hi,

There is a display bug when a grid is placed inside a dijit dialog.
The row header module is not displayed correctly.
The following files show it

In fact, from the method load of the module RowHeader, the width of its bodyNode is 0 when the module try to place the RowHeader column at the left or right of the body grid.

```javascript
load: function(args, startup){
var t = this,
bn = t.bodyNode;
startup.then(function(){
// When the grid is in a dijit Dialog, bn.offsetWidth is 0
// However outside a dijit Dialog, bn.offsetWidth is 0
bn.style[t.grid.isLeftToRight() ? 'left' : 'right'] = -bn.offsetWidth + 'px';
t.loaded.callback();
});
},
```