Including multiple widgets in one cell..

1 view
Skip to first unread message

Shamail Tayyab

unread,
Jul 23, 2008, 9:57:50 AM7/23/08
to turbo...@googlegroups.com
Hii all,
I want to add multiple fields in one cell of a TableForm. Please
guide me how to do it..

Regards..

--
Shamail Tayyab
shamail [at] inbox [dot] com
8 5 6 4 5 0 8 1 7 9 - 1 9 + (right to left without spaces)
<<Bringing Linux and Mobiles one step closer>>
Blog at: http://tuxatwork.blogspot.com


Christoph Zwerschke

unread,
Jul 23, 2008, 5:43:33 PM7/23/08
to turbo...@googlegroups.com
Shamail Tayyab schrieb:

> I want to add multiple fields in one cell of a TableForm. Please
> guide me how to do it..

You will have to subclass TableForm and use your own template.

I have just created a wiki page with an example class that I am
frequently using:
http://docs.turbogears.org/1.0/RoughDocs/NicerForms

If anybody has better or different examples, please add them to that
wiki page.

-- Christoph

Patrick Lewis

unread,
Jul 23, 2008, 10:20:51 PM7/23/08
to TurboGears


On Jul 23, 9:57 am, Shamail Tayyab <pleoma...@gmail.com> wrote:
> Hii all,
>     I want to add multiple fields in one cell of a TableForm. Please
> guide me how to do it..
>
> Regards..

Depending on what you are trying to do, take a look at
CompoundFormField widget. There is some demo code / documentation at
http://docs.turbogears.org/1.0/CompoundWidgets

I've also used it in a project here:
http://tinyurl.com/6l87kc
Reply all
Reply to author
Forward
0 new messages