From search result, can one expand dynatree to the right node when used in lazy mode? -
i'm using dynatree in lazy mode , plan adding search bar.
because lazy mode used search results, can return nodes dynatree unaware of.
for nodes, store path of node in accessory table, updated through triggers.
id path ... 102 6.46.65 103 6.46.65 104 5.39.97 ...
in above example, nodes 102
, 103
children nodes of node 65
, being child of node 46
, a.s.o. (top-level nodes children of fictive node 0
doesn't exist in practice.)
assuming search results list node 103
, being clicked, there way load nodes 6
, 46
, 65
, 103
if not loaded yet , jump node 103
?
Comments
Post a Comment