Opened 9 years ago

Closed 6 years ago

#11659 closed defect (patchwelcome)

Fix for test_subgrid.html

Reported by: chadsmiley Owned by: Bryan Forbes
Priority: low Milestone: tbd
Component: DojoX Grid Version: 1.5
Keywords: Cc:
Blocked By: Blocking:

Description

dojox\grid\tests\test_subgrid.html is broken,here is what I did to get it to work. The basic issue was getDetailData was being called for the subgrid instead of the cells within the subgrid. Here is the my code starting on line 127.

var subGridCells = [{
	noscroll: true,
	cells: [
		[{ name: "Rating",get: getDetailData, rowSpan: 2, width: 10, noresize: true, styles: 'text-align:center;' },
			{ name: "Sku",get: getDetailData },
			{ name: "Price",get: getDetailData },
			{ name: "Vendor",get: getDetailData },
			{ name: "Name",get: getDetailData, width: "auto" }],
		[{ name: "Description",get: getDetailData, colSpan: 4 }]
	]}];

var subGridProps = {
	structure: subGridCells,
	rowCount: 1,
	autoHeight: true,
	autoRender: false
};

Change History (4)

comment:1 Changed 9 years ago by bill

Component: GeneralDojoX Grid
Owner: changed from anonymous to bryanforbes

comment:2 Changed 9 years ago by bill

Owner: changed from bryanforbes to Bryan Forbes

comment:3 Changed 6 years ago by bill

DojoX Grid and EnhancedGrid are deprecated in favor of dgrid and gridx.

You should upgrade your code to use one of those two grids.

We will consider patches to the old DojoX Grid code though.

comment:4 Changed 6 years ago by bill

Resolution: patchwelcome
Status: newclosed
Note: See TracTickets for help on using tickets.