Hi
Try the following Code.
You just need to define menu config of the split button rather than items of split button(that I saw in your example(http://pastebin.com/bmjDtK26).
Code:
Ext.create('Ext.button.Split', {
renderTo: Ext.getBody(),
text: 'Options',
// handle a click on the button itself
handler: function() {
alert("The button was clicked");
},
menu: new Ext.menu.Menu({
width: 120,
items: [
{
xtype: 'menuitem',
text: 'Menu Item'
},
{
xtype: 'menuitem',
text: 'Menu Item'
},
{
xtype: 'menuitem',
text: 'Menu Item'
}
]
})
});