Saturday, October 15, 2011

Re: Tree reorder by value

erha Oct 15, 1:29 am, "Constantin.FF" <constantin...@gmail.com> wrote:
> I need to reorder a part of my tree.
> I have given values for example:
> Array
> (
>     [0] => 4
>     [1] => 5
>     [2] => 6
>     [3] => 9
>     [4] => 8
> )
> where for example 0,1,2,3,4 is the new order of the relevant item ids
> I have read all the documentation according the reorder (which is not
> much), and also browsed the web but jut nothing even similar to this.
> Please any suggestions. Thanks

If you're using the tree behavior, try showing some code instead of
an abstract array that doesn-t mean anything.

What code have you tried, what did it do, what did you expect it to
do. Sounds like you need to call reorder with the right options or
simply moveUp and moveDown.

AD

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate