Opened 10 years ago
Closed 8 years ago
#12248 closed defect (patchwelcome)
Select cell in DataGrid does not support one item.
Reported by: | soularis999 | Owned by: | Bryan Forbes |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | DojoX Grid | Version: | 1.4.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I created a grid layout in HTML markup and added one column that should display dropdowns.
<th field="type" editable="true" cellType="dojox.grid.cells.Select" options="TEST" width="50px">Test</th>
On edit there is a javascript error that shows up that basically states that there are no items to iterate. I narrowed it down to
dojox.grid.cells.Select.markupFactory where after parsing the options fiels the method basically checks if there are more that one item and if not it never assignes the options to the cell holder.
Change History (5)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Component: | General → DojoX Grid |
---|---|
Owner: | changed from anonymous to bryanforbes |
comment:3 Changed 10 years ago by
Owner: | changed from bryanforbes to Bryan Forbes |
---|
comment:4 Changed 8 years ago by
comment:5 Changed 8 years ago by
Resolution: | → patchwelcome |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
I put a temp fix in my code that does work: