Skip to Content
0
Former Member
Jan 24, 2008 at 02:33 PM

Set focus on a tree node

110 Views

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