Opened 11 years ago
Closed 8 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 11 years ago by
Component: | General → DojoX Grid |
---|---|
Owner: | changed from anonymous to bryanforbes |
comment:2 Changed 10 years ago by
Owner: | changed from bryanforbes to Bryan Forbes |
---|
comment:3 Changed 8 years ago by
comment:4 Changed 8 years ago by
Resolution: | → patchwelcome |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.