How to close Drawer in button click?

How to close Drawer in “Cancel” button click(button placed in Drawer table)?
When I click cancel current drawer closed automatically with cancel action?

My Page code:






































































































var params = arguments[0],
$ = skuid.$;
var field = arguments[0];
var value = arguments[1];
console.log(field.mode);
if (field.mode === ‘edit’) {

var disabilityOptions = ;

skuid.$.each(skuid.model.getModel(‘Status’).getRows(), function(i,row) {
console.log(’—row----’+row);
disabilityOptions.push({
value : row.Status_Value__c,
label : row.Status_Value__c
});
});
console.log(’—disabilityOptions----’+disabilityOptions);

var disabilitySelect = skuid.ui.renderers.PICKLIST.edit({
entries : disabilityOptions,
required : false,
value : value
}).change(function() {
//alert(skuid.$(this).val());
field.model.updateRow(field.row,‘AccountNumber’,skuid.$(this).val());
});
field.element.append(disabilitySelect);
} else {
console.log(’-----nonedit------’+field.mode);

skuid.ui.fieldRenderers.TEXT[field.mode](field,value);

}




Siva,

you may find this and this helpful.