DHTMLX Docs & Samples Explorer

onClick Button Event

redefines default onClick handler

    dhxWins.window(id).button(id).attachEvent("onClick", function(){
        // code here
    });
    // or
    function doOnButtonClick(){
        // code here
    }
    dhxWins.window(id).button(id).attachEvent("onClick", doOnButtonClick);