title: Can I setup my dojo dijit form ComboButton to do a onClick or something similar when the user selects a value in the drop down list?
body: <p>I think I may be using the wrong <code>dojo</code> widget. I just need a dropdown list really, but currently have setup a <code>ComboButton</code>. Can I setup an <code>onClick</code> or onSelect of some sort when the user picks an option inside the <code>ComboButton</code> down down menu? My current <code>onClick</code> is picking up when the user clicks on the text area button, but not the drop down arrow selection. I want an <code>onClick</code> or onSelect action after the user clicks the down arrow button and then selects an option.</p>
  
  <pre><code>            {id: 'identOpModeId', field: 'identOpMode', name:'OpMode', width: '124px',
                  navigable: true,
                  expandLevel: 'all',
                  widgetsInCell: true,
                  allowEventBubble: true,
                  onCellWidgetCreated: function(cellWidget, cell){
                      var menuItems = OpModeMenuItems.returnOpModeMenuItems(cellWidget);
                      menuItems.forEach( function (menuItem)
                      {
                          cellWidget.sMenu.addChild(menuItem);
                      });
                  },
                  setCellValue: function(one,two,cellWidget){
                      var rowIndex = cellWidget.cell.row.id;
                      cellWidget.identOpMode.set("label", identMemStore.get(rowIndex).identOpMode);
                  },
                  getCellWidgetConnects: function(cellWidget, cell){
                      // return an array of connection arguments
                      return [
  
                          // How do I capture the onClick of the dijitArrowButton button??
  
                          [cellWidget.identOpMode, 'onClick', function(e){
                              var rowIndex = cellWidget.cell.row.id;
                              // I do NOT need this line - the drop down menu already sets the value! I just need to update the store!!
                              //cellWidget.identOpMode.set("label", identMemStore.get(rowIndex).identOpMode);
                              identMemStore.data[rowIndex-1].identOpMode = identMemStore.get(rowIndex).identOpMode;
                              // cellWidget.data[rowIndex].identOpMode = identMemStore.get(rowIndex).identOpMode;
                              // Add item to userRowChanges
                              updateRows(rowIndex-1, identGridx.row(rowIndex-1).item());
                          }]
                      ];
                  },
                  decorator: function(){
                      return [
                          '&lt;div data-dojo-attach-point="identOpMode" data-dojo-type="dijit/form/ComboButton" &gt;',
                          '&lt;div data-dojo-attach-point="sMenu" data-dojo-type="dijit/Menu"&gt;&lt;/div&gt;&lt;/div&gt;'
                      ].join('');
                  }
  
              },
  </code></pre>