code: function () {
  					var elemData = $.data($this, 'wsjPicker') || $this;
  					container.find('td.Radio input').off('click', radioClicked);
  					currentPreview.off('click', currentClicked);
  					cancelButton.off('click', cancelClicked);
  					okButton.off('click', okClicked);
  					container.find('.QuickColor').off('click', quickPickClicked);
  					colorMapDiv = null;
  					colorBarDiv = null;
  					colorMapL1 = null;
  					colorMapL2 = null;
  					colorMapL3 = null;
  					colorBarL1 = null;
  					colorBarL2 = null;
  					colorBarL3 = null;
  					colorBarL4 = null;
  					colorBarL5 = null;
  					colorBarL6 = null;
  					colorMap.destroy();
  					colorMap = null;
  					colorBar.destroy();
  					colorBar = null;
  					colorPicker.destroy();
  					colorPicker = null;
  					activePreview = null;
  					currentPreview = null;
  					okButton = null;
  					cancelButton = null;
  					grid = null;
  					commitCallback = null;
  					cancelCallback = null;
  					liveCallback = null;
  					container.html('');
  
  					for (i = 0; i < List.length; i++) {
  						if (List[i] == elemData) {
  							List.splice(i, 1);
  							break;
  						}
  					}
  				}
docs: Basic control binding for inline use - You will need to override the liveCallback or commitCallback function to retrieve results