code: function(displayDiv) {
  	
  	    this.display = {};
  	    this.display.mainDiv = displayDiv;
  	    
  	    this.display.buttonsElement = WireIt.cn("div");
  	    displayDiv.appendChild(this.display.buttonsElement);
  	    
      	    var collapseButton = WireIt.cn("button", {}, {}, "Collapse");
  	    collapseButton.id = "groupConfigCollapseButton";
  	    this.display.buttonsElement.appendChild(collapseButton);
  	    Event.addListener('groupConfigCollapseButton','click', this.groupCollapse, this, true);
  	    
  	    var groupSelect = WireIt.cn("select");
  	    this.display.groupSelect = groupSelect;
  	    groupSelect.id = "groupConfigGroupSelect";
  	    this.display.buttonsElement.appendChild(groupSelect);
  	    
  	    Event.addListener('groupConfigGroupSelect','change', function () { this.selectGroup.call(this, groupSelect); } , this, true);
  	    
  	    var ungroupButton = WireIt.cn("button", {}, {}, "Ungroup");
  	    ungroupButton .id = "groupUngroupButton";
  	    this.display.buttonsElement.appendChild(ungroupButton);
  	    Event.addListener('groupUngroupButton','click', this.unGroup, this, true);
  	    
  	    var body = WireIt.cn("div");
  	    displayDiv.appendChild(body);
  	    
  	    var list = WireIt.cn("table", {id: "groupPanelBodyList"});
  	    this.display.list = list;
  	    body.appendChild(list);
  	    
  	    var row = WireIt.cn("tr");
  	    this.display.listHeadRow = row;
  	    
  	    list.appendChild(row);
  	    row.appendChild(WireIt.cn("th", {}, {}, "Name"));
  	    row.appendChild(WireIt.cn("th", {}, {}, "Visible"));
  	    row.appendChild(WireIt.cn("th", {}, {}, "New name"));
  	    row.appendChild(WireIt.cn("th", {}, {}, "Show"));
  
  	    this.hideGroupConfigure();
  	}
docs: setupWidget