Opened 9 years ago

Last modified 20 months ago

#11794 assigned enhancement

[patch] Added method "getWidgetPosition" for GridContainer

Reported by: ChristianHeinrich Owned by: dylan
Priority: high Milestone: 1.14
Component: DojoX Layout Version: 1.5
Keywords: gridcontainer, position Cc:
Blocked By: Blocking:


The GridContainerLite? has a new method which can be used to get the position in a column easily.

This is very important when one wants to save the order of widgets in the grid.

It might be left to discuss whether one should return an array a la { column: widget.column, pos: <pos here> }. Because as of now, one needs to call <widget>.column separately to get the column the widget is in.

I have pushed to GitHub?. This can be found here:


Change History (6)

comment:1 Changed 9 years ago by ChristianHeinrich

I would suggest to return an array containing x / y coordinates. This might be expected behaviour.

comment:2 Changed 9 years ago by ChristianHeinrich

I have updated my commit and introduced the x / y coordinates. Sorry for posting multiple times. Here is the newest version.

comment:3 Changed 3 years ago by dylan

Milestone: tbd1.11
Owner: set to dylan
Status: newassigned
Summary: Added method "getWidgetPosition" for GridContainer[patch] Added method "getWidgetPosition" for GridContainer

comment:4 Changed 3 years ago by dylan

Milestone: 1.111.12

Ok, after massive triage, ended up with about 80 tickets for 1.11 and 400 or so for 1.12. That's a bit unrealistic, so first I changed all 1.12 to 1.13 (with the plan to move some forward to the new 1.12. Now, I'm moving some of the 1.11 tickets that are less likely to get done this month without help to 1.11. Feel free to help out in January if you want to see this ticket land in 1.11.

comment:5 Changed 3 years ago by dylan

Milestone: 1.121.13

Ticket planning... move current 1.12 tickets out to 1.13 that likely won't get fixed in 1.12.

comment:6 Changed 20 months ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.