PDA

View Full Version : splitbutton with hyperlink



morange
29 Jun 2008, 7:55 PM
how can i add a hyperlink to splitbutton.
i create the splitbutton with men
i put text values
This is my code snippet

{
xtype : 'tbsplit',
items : [{
menu : new Ext.menu.Menu({
items: [{
text : '<a herf=link1.html>Link1</a>'
},
{
text : '<a herf=link2.html>Link2</a>'
}
})
}]



}


but it is not working.
the hyperlinks are not activated...
please help me to solve this problem.

evant
29 Jun 2008, 7:58 PM
http://extjs.com/deploy/dev/docs/?class=Ext.menu.Item&member=href
http://extjs.com/deploy/dev/docs/?class=Ext.menu.Item&member=hrefTarget

morange
30 Jun 2008, 1:24 AM
hai
thanks
it works fine