on 01-24-2008 2:33 PM
Hi,
I display a huge tree in a view, so I was asked to add a functionality to search for a specific node.
I've tried using request focus in wdDoModify(..) but it doesn't work.
IWDAttributeInfo attribute =
wdContext.nodeAlberoGerarchia().getNodeInfo().getAttribute
( IPrivateGerarchiaCliente.IAlberoGerarchiaElement.CODICE_BP);
wdThis.wdGetAPI().requestFocus(wdContext.currentAlberoGerarchiaElement(), attribute);
Thanks,
Anita
That's a known problem that will be solved in a future release with a new API to scroll a tree node into the visible area.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Has this problem been solved yet? I am using NW 7.3 EHP1 and wdThis.wdGetAPI().requestFocus still does not do anything when used with an attribute bound to a TreeNodeType or TreeItemType.
When I use
treeNodeType.scrollIntoView(false, elementBoundToTreeNodeType)
the tree always scrolls all the way to the end, and with
treeNodeType.scrollIntoView(true, elementBoundToTreeNodeType)
all the way to the top.
Regards,
Tobias
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.