Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#6837 closed enhancement (fixed)

[patch] [cla] GridContainer Widget

Reported by: jfcunat Owned by: dante
Priority: high Milestone: 1.2
Component: DojoX Widgets Version: 1.1.1
Keywords: Cc: christian.barre@…, stephane.lediot@…, alex
Blocked By: Blocking:

Description

Initial checkin of GridContainer? Widget. The Grid Container is a container of children elements that are placed in a kind of grid.

It displays the children elements by column (ie: the children widths are fixed by the column width of the grid but the childs heights are free). Each child is movable by drag and drop inside the Grid Container. The position of other children is automatically calculated when a child is moved You can dynamically add/remove columns You can use keyboard to navigate and move children

Attachments (2)

GridContainer.diff (82.4 KB) - added by jfcunat 11 years ago.
diff file for GridContainer?
icons.zip (324 bytes) - added by jfcunat 11 years ago.
needed images for Gridcontainer

Download all attachments as: .zip

Change History (11)

Changed 11 years ago by jfcunat

Attachment: GridContainer.diff added

diff file for GridContainer?

Changed 11 years ago by jfcunat

Attachment: icons.zip added

needed images for Gridcontainer

comment:1 Changed 11 years ago by dante

Cc: alex added
Priority: normalhigh

comment:2 Changed 11 years ago by dante

Status: newassigned

comment:3 Changed 11 years ago by dante

(In [13834]) refs #6837 - Initial Checkin of the dojox.layout.GridContainer?! checkin in now to preserve history, with only minor style updates from the initial attached patch. still have some to do before closing ticking:

  • basic tundra, soria and nihilo "grips" styling
  • make class names prefixed w/ "dojox" (css)
  • more style guideline cleanups (whitespace, etc)
  • doing weird things across namespaced to dojo.dnd.Avatar / manager
  • consider dojox.dnd over dojox.layout.dnd

also optimized a tiny bit (consecutive getComputedStyle calls, etc).

based on orig patch from jfcunat, [CCLA, France Telecom]. Thanks!

!strict yet

comment:4 Changed 11 years ago by dante

(In [13835]) refs #6837 - more random cleanups, minor code changes. mostly style compliance stuff.

!strict yet.

note a few FIXME: 's

comment:5 Changed 11 years ago by dante

(In [13837]) refs #6837 - Ergo caught a late-night typeo (thanks!), more style compliance updates, etc.

!strict yet, but closer.

comment:6 Changed 11 years ago by dante

(In [13841]) refs #6837 - moves PlottedDnd? back with proper case. !strict either.

comment:7 Changed 11 years ago by dante

(In [13842]) refs #6837 - add example of GridContainer? in a BorderContainer? and ExpandoPane?. Shows interesting bug: Safari + IE are able to move panels from GC to GC (left to center, etc), though FF2 only occasionally will. weird. !strict

comment:8 Changed 11 years ago by dante

(In [13847]) refs #6837 - more style cleanups, and test more things in the BorderContainer? test !strict

comment:9 Changed 11 years ago by dante

Resolution: fixed
Status: assignedclosed

marking this as fixed in 1.2 - the widget has landed, is tagged experimental, and is mostly cleaned up. Need styling for better integration with themes, and some other minor cleanups, but those will have to wait.

Note: See TracTickets for help on using tickets.