ComboBox.js 782 B

12345678910111213141516171819202122232425262728
  1. /*******************************************************************************
  2. * IBM Confidential
  3. *
  4. * OCO Source Materials
  5. *
  6. * A and PM: PD
  7. *
  8. * (c) Copyright IBM Corp. 2014
  9. *
  10. * The source code for this program is not published or otherwise divested of
  11. * its trade secrets, irrespective of what has been deposited with the U.S.
  12. * Copyright Office.
  13. ******************************************************************************/
  14. define([
  15. "dojo/_base/declare",
  16. "dijit/form/ComboBox"
  17. ],function(declare, ComboBox){
  18. var ComboBox = declare("pd/widgets/ComboBox", [ComboBox], {
  19. style: {width: "99%"},
  20. placeHolder: PDMSG.IPT.IDS_IPT_SEARCH_COMBOBOX_HINT,
  21. onChange: function() {
  22. this.columnGrid.pdToggleSelected(this.item.id);
  23. }
  24. });
  25. return ComboBox;
  26. });