id | string, id of the toolbar item |
xxxxxxxxxx
$('#toolbar').w2toolbar({
name : 'toolbar',
items : [
{ type: 'check', id: 'item1', text: 'Check', img: 'icon-page', checked: true },
{ type: 'radio', id: 'item3', group: '1', text: 'R-1', img: 'icon-add' },
{ type: 'radio', id: 'item4', group: '1', text: 'R-2', img: 'icon-add' }
]
});
xxxxxxxxxx
w2ui['toolbar'].uncheck('item1');