Ticket #6545 (closed enhancement: fixed)

Opened 8 months ago

Last modified 5 months ago

Simplify Structure Specification

Reported by: rnucera Owned by: BryanForbes
Priority: normal Milestone: 1.2
Component: DojoX Grid Version: 1.1.0
Severity: normal Keywords: Grid
Cc: BryanForbes, toonetown

Description

Use table markup to define grid structure.

Change History

Changed 7 months ago by BryanForbes

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

Changed 7 months ago by BryanForbes

(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.

Changed 7 months ago by BryanForbes

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

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

Changed 7 months 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.

Changed 7 months ago by BryanForbes

(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.

Changed 6 months ago by BryanForbes

(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.

Changed 6 months ago by BryanForbes

(In [13821]) refs #6545 !strict

  • Fixed parsing of structures.

Changed 6 months ago by BryanForbes

(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.

Changed 5 months ago by toonetown

  • cc toonetown added; nathan removed

Changed 5 months ago by BryanForbes

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.