Ticket #2066 (closed task: fixed)

Opened 4 months ago

Last modified 4 months ago

Review Table columnwidth re-calculation feature

Reported by: Marc Englund Owned by: Joonas Lehtinen
Priority: major Milestone: User Interface Library 5.3.0 RC
Component: undefined Version: 5.2.5
Keywords: Cc:
Known Issue description:
Hours estimate: Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: no Contract:

Description

As implemented in [5389] for #1983

This one really needs thought; is there a better way?

The feature is currently made hard-to-find (on purpose): Table must be extended to enable.

Change History

Changed 4 months ago by Marc Englund

Re-cap: with proper data/presentation separation in place, there are situations when updating the container should cause the Table to re-calculate column widths.

This is the first request for this feature. However, I'd imagine more cases will occur in the future.

One option to consider is to remove the changeset, and (in the future) provide other means to implement such functionality (i.e a lighter table w/ less features that would change column widths dynamically)

Changed 4 months ago by Joonas Lehtinen

  • status changed from new to closed
  • resolution set to fixed

I fully agree that this feature is needed in some cases. Current situation of having implementation, but no API is a bit strange, but better than having bad API. IMO implementation is fairly simple and thus does add too much to complexity.

I would keep the implementation in trunk (to be 5.3.0) and think of a proper API when there is more requests for it.

Note: See TracTickets for help on using tickets.