code: function() {
  		
  		var columndefs = this.options.columnDefs || this.fieldsToColumndefs(this.options.fields);
  
      	// Adding modify column if we use form editing and if allowModify is true
        if(this.options.allowModify ) {
      	   columndefs = columndefs.concat([{
      	      key:'modify',
      	      label:' ',
      	      formatter:function(elCell) {
                 elCell.innerHTML = msgs.modifyText;
                 elCell.style.cursor = 'pointer';
              }
           }]);
        }
        
        // Adding delete column
        if(this.options.allowDelete) {
        	 columndefs = columndefs.concat([{
        	    key:'delete',
        	    label:' ',
        	    formatter:function(elCell) {
                 elCell.innerHTML = msgs.deleteText;
                 elCell.style.cursor = 'pointer';
              }
           }]);
        }
  		
  		return columndefs;
  	}
docs: Set the column definitions, create them if none from the fields, adds the modify and delete buttons