PDA

View Full Version : Itemid can have space/blanks in name?



Arunair
19 Aug 2014, 4:41 AM
Hi,

Can 'itemId' of a component have space/blank characters included in the name.

For example,

var pButton = new Ext.button.Button({
xtype : 'button',
itemId : 'Phase Button',
text : 'Button'
});

skirtle
19 Aug 2014, 12:35 PM
It may work in some circumstances but not all. e.g. A component query like '#Phase Button' won't match.