Defining toolbar via array is awesome but at the same time i need to add some toolbar too via <div> tag. Can i define both toolbar within <div> tag and array ?
Example:
//script
$('#dg').datagrid({
toolbar: [{
iconCls: 'icon-edit',
handler: function(){alert('edit')}
},'-',{
iconCls: 'icon-help',
handler: function(){alert('help')}
}],
toolbar: '#tb'
});
//html
<div id="tb">
<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true"/a>
<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-help',plain:true"/a>
</div>