Home > CSS, Dojo, IE > dojox.grid.Grid rows not displaying in IE

dojox.grid.Grid rows not displaying in IE

September 16th, 2008

If the parent container of a dojox.grid.Grid has its style set to text-align:center the rows of the grid, in IE, won’t display their data. The data, of course, is still there and displays correct in everything else.

Code Snip:

   1:  <h2>Working</h2>
   2:         <div id="dojoxGrid" dojoType="dojox.Grid" jsId="dojoxGrid" structure="layout"></div>
   3:      <h2>Not Working (in IE)</h2>
   4:      <div style="text-align:center;">
   5:          <div id="dojoxGridError" dojoType="dojox.Grid" jsId="dojoxGridError" structure="layout"></div>
   6:      </div>

Demo: http://eric.polerecky.com/dojoGrid/

Share and Enjoy:
  • Digg
  • Facebook
  • del.icio.us
  • Print this article!
  • E-mail this story to a friend!
  • Google
  • description
  • description
  • Live
  • MySpace
  • Reddit
  • StumbleUpon
  • Technorati
  • Tumblr

CSS, Dojo, IE

  1. September 16th, 2008 at 14:54 | #1

    there is an open and closed bug for this in dojo trac…but it was closed due to not having a test case…

  1. No trackbacks yet.