button을 하나 만들어주고 this.btnClick=function(obj:nexacro.Button,e:nexacro.ClickEventInfo) { switch(obj.name){ case 'btnInsert' : this.ds_in_failreportdetail.addRow(); break; case 'btnDelete' : this.ds_in_failreportdetail.deleteRow(ds_in_failreportail.rowposition); break; } }