public/javascripts/inputex/js/widgets/DataTable.js
function() {
      
     var that = this;
      
     this.dialog = new inputEx.widget.Dialog({
				id: this.options.dialogId,
				inputExDef: {
				         type: 'form',
			            fields: this.options.fields,
			            buttons: [
			               {type: 'submit', value: msgs.saveText, onClick: function() { that.onDialogSave(); return false; /* prevent form submit */} },
			               {type: 'link', value: msgs.cancelText, onClick: function() { that.onDialogCancel(); } }
			            ]
				      },
				title: this.options.dialogLabel,
				panelConfig: this.options.panelConfig
		});
		
		// Add a listener on the closing button and hook it to onDialogCancel()
		YAHOO.util.Event.addListener(that.dialog.close,"click",function(){
			that.onDialogCancel();
		},that);
		
   }
function() {
      
     var that = this;
      
     this.dialog = new inputEx.widget.Dialog({
				id: this.options.dialogId,
				inputExDef: {
				         type: 'form',
			            fields: this.options.fields,
			            buttons: [
			               {type: 'submit', value: msgs.saveText, onClick: function() { that.onDialogSave(); return false; /* prevent form submit */} },
			               {type: 'link', value: msgs.cancelText, onClick: function() { that.onDialogCancel(); } }
			            ]
				      },
				title: this.options.dialogLabel,
				panelConfig: this.options.panelConfig
		});
		
		// Add a listener on the closing button and hook it to onDialogCancel()
		YAHOO.util.Event.addListener(that.dialog.close,"click",function(){
			that.onDialogCancel();
		},that);
		
   }
function ( ) { var that = this ; this . dialog = new inputEx . widget . Dialog ( { id : this . options . dialogId , inputExDef : { type : 'form' , fields : this . options . fields , buttons : [ { type : 'submit' , value : msgs . saveText , onClick : function ( ) { that . onDialogSave ( ) ; return false ; /* prevent form submit */ } } , { type : 'link' , value : msgs . cancelText , onClick : function ( ) { that . onDialogCancel ( ) ; } } ] } , title : this . options . dialogLabel , panelConfig : this . options . panelConfig } ) ; // Add a listener on the closing button and hook it to onDialogCancel() YAHOO . util . Event . addListener ( that . dialog . close , "click" , function ( ) { that . onDialogCancel ( ) ; } , that ) ; }
Render the dialog for row edition
Render the dialog for row edition