Re: Close nodes in Tree View widget

2018-06-14 Thread Andrew Bell via use-livecode
Bell > Date: Wed, 13 Jun 2018 23:02:52 +0100 > From: Alex Tweedly > Subject: Re: Close nodes in Tree View widget > > I can't try it out right now - but would it be any good to set the > arraydata to empty, and then load the new values you want ? That might > (effectively

Re: Close nodes in Tree View widget

2018-06-14 Thread Brian Milby via use-livecode
> Date: Wed, 13 Jun 2018 23:02:52 +0100 > > From: Alex Tweedly > > Subject: Re: Close nodes in Tree View widget > > > > I can't try it out right now - but would it be any good to set the > > arraydata to empty, and then load the new values you want ? That might > > (e

Re: Close nodes in Tree View widget

2018-06-14 Thread Andrew Bell via use-livecode
Jun 2018 23:02:52 +0100 From: Alex Tweedly Subject: Re: Close nodes in Tree View widget I can't try it out right now - but would it be any good to set the arraydata to empty, and then load the new values you want ? That might (effectively) delete and recreate the relevant nodes, and thereby reset

Re: Close nodes in Tree View widget

2018-06-13 Thread Alex Tweedly via use-livecode
I can't try it out right now - but would it be any good to set the arraydata to empty, and then load the new values you want ? That might (effectively) delete and recreate the relevant nodes, and thereby reset the status of the leaf nodes. Alex. On 13/06/2018 19:13, Andrew Bell via

Close nodes in Tree View widget

2018-06-13 Thread Andrew Bell via use-livecode
I'm working with the Tree View widget and have found that leaf nodes stay open even after the arrayData has changed. For example, if I click on leaf node 2 and 4 to open them up for further inspection but then load new arrayData those same leaf nodes are already expanded with the new data.