PDA

View Full Version : Using a colon in a grid container breaks the grid



quilleashm
27 Jul 2007, 4:34 AM
Ext: 1.1 RC1
Adapter: ExtBase
Browser: FF 2.0.0.5
OS: Win XP

Hi all,

Found an odd problem with the grid. If the id of the DOM element the grid uses as its container contains a colon ( : ) then the grid rendering does strange things, the column data and column headers don't line up, the column header text and the header dividers don't line up.

You can get it to fail by editing the array-grid.js/html example and change "grid-example" to "grid:example".

The HTML 4 spec states that



ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by
any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"),
colons (":"), and periods (".").


Any more details required please let me know.

Cheers.

Mike.

tryanDLS
27 Jul 2007, 9:12 AM
Using a colon is not supported. See this thread http://extjs.com/forum/showthread.php?t=2886