PDA

View Full Version : Grid Alpha rev 7



andrey.korolyov
3 Mar 2007, 3:34 PM
Bug with grid - container id.

If if have container id 'dialog:add_block:center:grid' - have issue with header line.
If container element have id 'dialog-add_block-center-grid' - all works fine.

there is problem
GridView.js
Line: 44



cellRE: /(?:.*?)x-grid-(?:hd|cell|csplit)-(?:[\d]+)-([\d]+)(?:.*?)/,

findRE: /\s?(?:x-grid-hd|x-grid-col|x-grid-csplit)\s/,



line: 337


getCellIndex : function(cell){
var id = String(cell.className).match(this.cellRE);
if(id){
return parseInt(id[1], 10);
}
return 0;
},

jack.slocum
4 Mar 2007, 8:25 PM
This is a known issue.

: (colon) is not supported by Ext in ids anywhere. All kinds of things will break. Until there is time to address this problem, I would recommend using the older naming conventions of [a-z][A-Z]-_

andrey.korolyov
5 Mar 2007, 3:16 AM
Thank you.