I've taken my tree component and added some CSS to enable a scroll bar
around it when it becomes large enough:

 

            inlineStyle="width: 200px; height: 400px; max-height: 400px;
overflow: auto; ....

 

This works well, but as I expand and collapse nodes in the tree, the
scroll position isn't maintained due to the component being thrown out
and reconstructed via PPR.  I wish there was an onscroll on the tree, as
this would give me the hook I need to save the position and I could
restore it via window.onload, but to no avail.

 

Does anyone have an idea how this might be done?

 

Thanks in advance,

 

Shawn Bertrand

Tyco Electronics

 

Reply via email to