Create a custom button on cute editor to call a custom table

Hi,
I m using cute editor of DHTMLX.
I m trying to create a custom button on that tool bar.
And through that i wanna to access my own asp page with grid on that.

Is it possible to do that
If yes then how can i do that.

Please help me.
Thanks.

Hi,

it’s possibel to add a custom button in toolbar.

If you use extended intialization (with dhtmlxToolbar), you may use “tb” property to attach toolbar:

var toolbar = editor.tb; toolbar.addButton(itemId, index, text, icon);

to call the corresponding functionality you may use onClick event handler:

toolbar.attachEvent(“onClick”,function(itemId){
/your code here/
});