Opened 12 years ago
Closed 12 years ago
#8347 closed defect (invalid)
Grid view display problem related to colSpan and noscroll
Reported by: | haavikko | Owned by: | Bryan Forbes |
---|---|---|---|
Priority: | high | Milestone: | 1.3 |
Component: | DojoX Grid | Version: | 1.2.3 |
Keywords: | Cc: | [email protected]… | |
Blocked By: | Blocking: |
Description
Attached is modified testcase test_change_structure.html that shows the problem. The modified part is:
var view2 = { // noscroll: true, cells: [ [ {name: 'Epsilon', value: '<button>Epsilon</button>', colSpan: 2} ] , [ {name: 'Alpha', value: '<input name="" type="checkbox" value="0">'}, {name: 'Beta', get: get, width: 4.5} ] ] }
Above, I commented out the noscroll:true attribute and modified the structure so that Epsilon cell is above Alpha and Beta.
Clicking on "change structure" does not bring these cells visible as it should (or then I'm just mis-configuring the grid).
If the Epsilon cell is placed below Alpha and Beta, it displays correctly. It also displays correctly if noscroll:true is added.
If colspan is removed but noscroll is not set, then only epsilon and alpha cells are displayed.
Could this be related to #8240?
Attachments (1)
Change History (3)
Changed 12 years ago by
Attachment: | test_change_structure_mod.html added |
---|
comment:1 Changed 12 years ago by
Milestone: | tbd → 1.3 |
---|
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Because of the way the grid is designed, you cannot use colSpan in the first subrow. The first subrow defines how the rest of the subrows can be rendered.