This question has been flagged
2415 Views

Hi commuity,

I want to calculate dynamically the number of rows in a tree :

For example, i have an object "book" wich contains a OneToMany relation with an object "page". In the edit form of a "book" object i can add or remove "page" objects in a tree. I want to change in real time an indicator displayed in the same form wich is the number of pages in the tree. It probably has something to do with the javascript wich handles entries in a tree (adding ,removing ). I'm hoping that someone has an idea about how to do that.

Thanks.

Avatar
Discard