extjs - Trying to get class/id value on tabbed Panel tab section -



extjs - Trying to get class/id value on tabbed Panel tab section -

for test automation purposes, need class/id value on tab bit (whatever phone call it..) in tabbed pane.

i have tried next aaa,bbb,ccc , ddd, , none of these appear in class in dom level.

var panel1 = ext.create('ext.panel.panel'); panel1.cls = 'aaa' panel1.itemcls = 'bbbb' var panel2 = ext.create('ext.panel.panel'); ext.create('ext.tab.panel', { cls:'ccc', itemcls:'ddd', renderto: document.body, items: [panel1,panel2] } );

i know somehow possible. have idea??

http://jsfiddle.net/gqulg/9/

ok figured out. need set tabconfig object on panel or container goes within tabbed panel.

var panel1 = ext.create('ext.panel.panel'); panel1.tabconfig = { cls: 'mytab' };

the tabconfig object holds cls (class values) populate tabs on top.

extjs extjs4.2

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -