Opened 10 years ago

Closed 10 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: haavikko@…
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)

test_change_structure_mod.html (3.2 KB) - added by haavikko 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by haavikko

comment:1 Changed 10 years ago by Bryan Forbes

Milestone: tbd1.3

comment:2 Changed 10 years ago by Bryan Forbes

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.