I would like to get at information I put in the top tool bar that is part of Valence. I put something in the hook.js to create an element in the toolbar, but I can't seem to get at it. I tried using "var tbSpecialText=this.parent.Ext.ComponentQuery.query ('#specialHeaderText')[0];" that was suggested by Robert in an earlier post, http://cnxforum.com/showthread.php?1...ith-the-login), but that did not work. Any other suggestions?
Announcement
Collapse
No announcement yet.
[SOLVED] Access Elements in Valence top Bar
Collapse
X
-
Code:toolbar.insert(3,{ xtype : 'displayfield', fieldLabel: '<b>Company</b>', value : '<p style="font-size:16px; color:red">'+data.COMPNAME+'</p>', itemId : 'headerCompanyName', id : 'headerCompanyName', padding : "0 5 0 125", labelWidth: 60, dataValue : data.COMPNAME, companyValue : data.COMPANY });
Comment
Comment