Will this work for you?
http://cookbook.hobocentral.net/api_plugins/hobo_tree_table
A tree table isn't generally paginated, so you can create a sum column
by defining a method on your model called sum:
def sum
children.sum(amount)
end
where children is the name of your has_many, and amount is the name of
the column that holds a numerical value to sum.
Bryan
On Tue, Oct 16, 2012 at 11:43 PM, Enrique Moreira <[email protected]> wrote:
> Hello
> Hobousers
>
>
> I need a grid treegrid? to render a multicolum with n levels deep, like
> Master - Detail, one o many columns have a numeric value or sum ajax? , a
> grid from jquery? extjs? any guide to hobo
>
>
> thanks
>
> Enrique
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.