code: function() {
        
        // Call the rendering method when the container is available
        Event.onAvailable(this.options.id, this.renderDatatable, this, true);
        
        // Table options
        if(this.options.showHideColumnsDlg) {
           Event.addListener(this.tableOptions, 'click', this.showTableOptions, this, true);
        }
  
        /**
     	 * @event Event fired when an item is removed
     	 * @param {YAHOO.widget.Record} Removed record
     	 * @desc YAHOO custom event fired when an item is removed
     	 */
      	this.itemRemovedEvt = new util.CustomEvent('itemRemoved', this);
  
        /**
     	 * @event Event fired when an item is added
      	 * @param {YAHOO.widget.Record} Added record
     	 * @desc YAHOO custom event fired when an item is added
     	 */
      	this.itemAddedEvt = new util.CustomEvent('itemAdded', this);
  
        /**
     	 * @event Event fired when an item is modified
      	 * @param {YAHOO.widget.Record} Modified record
     	 * @desc YAHOO custom event fired when an item is modified
     	 */
      	this.itemModifiedEvt = new util.CustomEvent('itemModified', this);
     }
docs: Init the events