Opened 12 years ago

Closed 11 years ago

#6545 closed enhancement (fixed)

Simplify Structure Specification

Reported by: rnucera Owned by: Bryan Forbes
Priority: high Milestone: 1.2
Component: DojoX Grid Version: 1.1.0
Keywords: Grid Cc: Bryan Forbes, Nathan Toone
Blocked By: Blocking:

Description

Use table markup to define grid structure.

Change History (10)

comment:1 Changed 12 years ago by Bryan Forbes

Started work in [13409]. toonetown fixed a bug in [13439].

comment:2 Changed 12 years ago by Bryan Forbes

(In [13440]) refs #6545. !strict

  • Made layout and row selector private classes.
  • Improved structure parsing code.
  • Added a property on VirtualGrid? to add the row selector without adding it to the structure explicitly.

comment:3 Changed 12 years ago by Bryan Forbes

(In [13443]) refs #6545. !strict

  • Forgot to replace dojox.grid._grid.GridRowView? with dojox.grid._RowSelector in the tests.

comment:4 Changed 12 years ago by nathan

Cc: nathan added

One other suggestion that may go along with this - it would be nice to be able to specify a "relative" width of a grid - or to say that widths are relative...so, for example, if you have 3 columns, with relwidth of 1, 2, and 3, then the second column would be twice as wide as the first, and the third would be 3 times as wide as the first...but the sum total of all columns will fill the available width of the grid.

It could also be the default if no units are specified on the width...just some thoughts.

I have a mixin that we are using to accomplish this. It's not ready to be submitted as a patch or anything - but if you like, IM me and we can discuss a bit more.

comment:5 Changed 12 years ago by Bryan Forbes

(In [13793]) refs #6353 !strict

  • Moved dojox.grid.VirtualGrid? to dojox.grid._Grid.
  • Renamed DataGrid?._getItem to DataGrid?.getItem.
  • Added "defaultValue" property to cells and set it to '...'.
  • Added _Grid._fetch() (stub function).
  • Changed _Grid to work with asyncronous stores more efficiently.

refs #6545

  • Changed "itemAttr" on cells to "field".
  • Added "sortDesc" attribute to cells.

fixes #6746, #5469

  • Fixed horizontal scrolling issue in FF2/3.

comment:6 Changed 12 years ago by Bryan Forbes

(In [13818]) refs #6546 !strict

  • Removed dojox.grid.Grid (DataGrid? replaces it).
  • Removed _data directory.
  • Updated tests to reflect the changes.

refs #6545

  • Updated layout parser to support different combinations of view and cell definitions.

comment:7 Changed 12 years ago by Bryan Forbes

(In [13821]) refs #6545 !strict

  • Fixed parsing of structures.

comment:8 Changed 12 years ago by Bryan Forbes

(In [13846]) refs #6545 !strict

  • Added RowIndex? cell to simplify the adding of a row index cell.
  • Updated the yahoo tests to re-use the code in yahooSearch.js.

comment:9 Changed 11 years ago by Nathan Toone

Cc: Nathan Toone added; nathan removed

comment:10 Changed 11 years ago by Bryan Forbes

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