Categories > TinyButStrong general >

Variable Column Order

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: RickC
Date: 2005-06-28
Time: 06:05

Variable Column Order

I need to create an HTML report where the Column order is defined by the user.  The data in each column may be formated as date, number or text.  Any suggestions how this might be accomplished with TBS?
By: RwD
Date: 2005-06-28
Time: 11:02

Re: Variable Column Order

I posted a question about this and got it answered. Ity is also in tips and tricks...

My question: http://www.tinybutstrong.com/forum.php?msg_id=2846
By: RickC
Date: 2005-06-28
Time: 15:06

Re: Variable Column Order

I had seen the example and the tips & tricks, but those are not a solution to my problem.
I have all of the columns defined, but the order in which they appear or if they appear in the table can be determined by the user.
Example:
User 1 wants:  A  B  C  D  E
User 2 wants:  B  E  C
User 3 wants:  E  D  A  C
and so on ....

I may have to look at dynamically building a template and then process that template.  Is there a way to load a template from a string rather than from a file?