javascript - how can i handle dojox.grid.cells.combobox on change events -
i create grid using dojo column structure : { 'name' : 'type', 'field' : 'type', 'width' : '150px', type: dojox.grid.cells.combobox, editable : true, options: [ 'numérique', 'date', 'chaîne de caractères', 'boite à cocher' ,'liste'], styles : "text-align: center;" } there way handle "onchange" events ?
easiest , best way handle onchange event this:
yourgridname.on('change',function(evt){ //do when onchange happend });
have in eventhandler of dojo further information:http://dojotoolkit.org/reference-guide/1.9/dojo/on.html#dojo-on
regards, miriam
Comments
Post a Comment