We have a web app that allows users to build tables that will be
included on reports. The app allows end-users to enter the number of rows and columns. The app posts back to the server and
a table of X by Y textboxes are available for end-user filling. The
problem is that once you decide on the dimensions, there's no ability to add new rows or cols or delete rows or cols. No big deal I thought, wrap
HTML::Table with some customized linkage that allows adds and deletes .
Not good enough. The major client wants to be able to "size" the
table - actually control the width and height of cells. To my knowledge this cannot be done easily with HTML. Sure, I could offer some additional links that allow a user to control the width and
height but that's going to be a UI nightmare (especially when you add the UI for adding/deleting rows and columns).
I've come to the conclusion that this needs to be a purely
client side thing. Either javascript, a java applet or --ack-- a flash app.
Has anyone ever tried this? Does anyone know of any examples? I've looked at JXHTMLEDIT
and it's close but a bit too heavy weight.
-derby
And don't think I'm not pushing back on that resize requirement. I'm just exploring for more info until the push is felt.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.