PDA

View Full Version : 1.1 Beta 1 - Long Grid Ids



shaun.trennery
1 Jul 2007, 5:14 AM
I'm currently using 1.1 Beta 1 and have found that using long grid ids causes the grid's headers to incorrectly align with the columns. Replacing the long id with Ext.id() resolves the problem.

I still need to test this in beta 2.

tryanDLS
1 Jul 2007, 8:47 AM
What does your long id look like? Does it start with a letter? If not, it's invalid - see the W3C spec.

shaun.trennery
1 Jul 2007, 8:54 AM
The id is similar to this

report-grid-company.project.class.reportname

The are no numerics in the id.

tryanDLS
1 Jul 2007, 11:33 AM
Does this happen in both IE and FF? I wonder if this causing problems with the dynamic stylesheet creation for the grid cols.

jack.slocum
1 Jul 2007, 12:02 PM
The letter "." doesn't play friendly in IDs. Stcik with a-zA-z0-9_-

shaun.trennery
2 Jul 2007, 12:26 AM
Thanks Jack.

BTW the problem was only in IE and not FF. I'm using IE7 and FF2