Changeset 13731 for dojox/trunk/grid/tests/test_edit_dijit.html
- Timestamp:
- 05/14/08 10:04:13 (6 months ago)
- Files:
-
- 1 modified
-
dojox/trunk/grid/tests/test_edit_dijit.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dojox/trunk/grid/tests/test_edit_dijit.html
r13680 r13731 74 74 field: 2, name: 'Status', 75 75 styles: 'text-align: center;', 76 editor: dojox.grid._data.editors.Select,76 type: dojox.grid.cells.Select, 77 77 options: [ "new", "read", "replied" ] 78 78 }; … … 81 81 type: 'dojox.grid._RowSelector', width: '20px' 82 82 },{ 83 defaultCell: { width: 8, edit or: dojox.grid._data.editors.Input, styles: 'text-align: right;' },83 defaultCell: { width: 8, editable: true, type: dojox.grid.cells._Widget, styles: 'text-align: right;' }, 84 84 rows: [[ 85 85 { name: 'Id', 86 86 get: function(inRowIndex) { return inRowIndex+1;}, 87 editor: dojox.grid._data.editors.Dijit, 88 editorClass: "dijit.form.NumberSpinner" }, 87 widgetClass: "dijit.form.NumberSpinner" }, 89 88 { name: 'Date', width: 10, field: 7, 90 editor: dojox.grid._data.editors.DateTextBox,89 type: dojox.grid.cells.DateTextBox, 91 90 formatter: formatDate, 92 91 constraint: {formatLength: 'long', selector: "date"}}, 93 92 { name: 'Priority', styles: 'text-align: center;', field: 0, 94 editor: dojox.grid._data.editors.ComboBox,93 type: dojox.grid.cells.ComboBox, 95 94 options: ["normal", "note", "important"], width: 10}, 96 95 { name: 'Mark', width: 3, styles: 'text-align: center;', 97 editor: dojox.grid._data.editors.CheckBox},96 type: dojox.grid.cells.CheckBox}, 98 97 statusCell, 99 98 { name: 'Message', styles: '', width: '100%', 100 editor: dojox.grid._data.editors.Editor, editorToolbar: true },99 type: dojox.grid.cells.Editor, editorToolbar: true }, 101 100 { name: 'Amount', formatter: formatCurrency, constraint: {currency: 'EUR'}, 102 editor: dojox.grid._data.editors.Dijit, editorClass: "dijit.form.CurrencyTextBox" },101 widgetClass: "dijit.form.CurrencyTextBox" }, 103 102 { name: 'Amount', field: 4, formatter: formatCurrency, constraint: {currency: 'EUR'}, 104 editor: dojox.grid._data.editors.Dijit, editorClass: "dijit.form.HorizontalSlider", width: 10}103 widgetClass: "dijit.form.HorizontalSlider", width: 10} 105 104 ]] 106 105 }];