Complicated configurable HTML tables
Complicated configurable HTML tables
- Subject: Complicated configurable HTML tables
- From: Patrick Middleton <email@hidden>
- Date: Thu, 17 Aug 2006 10:39:15 +0100
I have a woapp on which I'm working where there will soon be:
three basic screen layouts, based on an assumed device display width
of 160px/320px/640+px, user selectable
some columns will always be present
some columns will be present if the user wants them shown
some columns will be present if the sysadmin wants them shown
It's a requirement that all this be nicely formatted; left or right
text alignment, alternating table row background colours, and column
widths to be specified as percentages. At the moment I have lots of
WOConditionals, such that if a particular set of conditions is met
then the enclosed layout will be used, but this has become unmanageable.
The amount of information to be shown is such that one line of data
could need between one and four HTML table rows to show it all
depending on the configuration. Wrapping and scrolling are bad
ideas; we need 100% of the table width to be visible on the device
screen. Vertical scroll bar good; horizontal scroll bar bad; both
scroll bars together very bad indeed.
I've got a fair idea how I'm going to make all this work -- but I'd
be very grateful if anybody who has already encountered and solved
this problem would like to share their solution!
---
Regards Patrick
OneStep Solutions Plc
www.onestep.co.uk
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden