I did this for my application, which needed rows with some totals.  I didn't
want the totals row to get sorted with the other data, and I also wanted it
to look different.  You can't put this in an outside table, because it won't
line up!

So can extend Grid and in the html part simply allow a body component before
the loop that renders your column headers and data.  In your main page you
can insert your custom row with controls, etc.

The bad part is you can't have something above and below the data rows with
this approach.

So if you need more, consider merging your custom row component into your
enhanced grid class, so you can have more control.
This would also work if you wanted to have an extra column for check boxes,
etc.

I think I posted my EnhancedGrid class on the list a while back, it's T5.0.5
.



On Dec 14, 2007 10:56 AM, Tobias Wehrum <[EMAIL PROTECTED]> wrote:

> Hello everyone!
>
> Is there a way to add extra rows to a BeanEditForm and extra columns to
> a Grid - rows / columns which doesn't represent a property of the given
> model? I need it to edit or show values which are relevant for the
> model, but like I said not included in it, as well as present links in
> an own column like "edit", "delete", "move" etc..
>
> Regards,
> Tobias
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to