what is the PR for this version? On Thu, Nov 1, 2018 at 7:29 PM Brian Milby via use-livecode < use-livecode@lists.runrev.com> wrote:
> Well, testing any of the fixes would require you to download the widget and > build it as none of the 9.1 builds are out yet. > > I did have an idea about manual sorting of data in a tree view. I'll need > to bounce it around in my head a bit to see if it would be workable. The > basic idea would be to allow sorted lists of keys to be set for a parent > node that would override the default sort. > > Double click to put data somewhere else should work - that is a message > that is passed for leaf nodes. > > On Wed, Oct 31, 2018 at 6:04 PM Bob Sneidar via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > You and others have addressed a lot of the work I think, and thank you > for > > that by the way. One of the things I would like to see is something akin > to > > findRecord and findIndex in a datagrid. Of course, finding something > > several levels in requires that you would need to return not just a > number, > > but a root node with the path to the found item, so you can reference it > in > > the future, getting and setting anything in the "path". > > > > I wanted to create a list of items with a name and value, but then I > > realized I wanted to rearrange them, moving them up and down in the > list. I > > also wanted to be able to double-click an item and put the value into > > another field. I call the feature "QuickNotes" where I have a pallette > like > > stack I can double click text snippets to fill in a field with text I > type > > often, as in a copier installation. > > > > In the end I used a datagrid so no big deal, but it left me wondering why > > I would ever use a tree view. But as you mentioned a lot of work is being > > done on it now. I cannot switch over to 9.1 yet because I made a custom > > change in the datagrid behavior which allows me to nest behaviors, so > until > > that gets bundled into a release I cannot test any new changes (at least > > not with my current project). > > > > Bob S > > > > > > > On Oct 30, 2018, at 15:47 , Brian Milby via use-livecode < > > use-livecode@lists.runrev.com> wrote: > > > > > > What kind of work? Here are a couple that I can think of that are not > > > easily addressed: > > > - Arbitrary sort would take significant changes (a couple options: 2 > > part > > > key [1,firstkey], [2,asecondkey] or restructuring the array format to > > > something like [key][title], [key][value] where the title and > optionally > > > value would be displayed and keys just used for sorting). > > > - Inline editing is something that LCB doesn't support. > > > > > > My goal is to submit a PR today that will facilitate keyboard > navigation > > (I > > > want to add a couple properties that can be controlled from LCS which > can > > > handle the keypresses). > > > > > > Several code changes are already completed and either merged (9.1) or > > > waiting review. > > > - Numeric sort will now also sort the non-number entries below the > > numbers > > > - If you select a row that is hidden by folding, it will expand to show > > the > > > row > > > - You can have the selected item scroll into view when selected > > > - When an element is added interactively, it can be configured to > > > auto-select the new element > > > - You can reset the fold state to collapse the entire tree (optionally > > > setting the arrayData at the same time) > > > - MouseUp no longer registers as a click when the MouseDown was on a > > > different row > > > > > > I don't see anything else in the QCC for the Tree Widget that I can > > address > > > at the moment. > > > > > > Thanks, > > > Brian > > > > > > On Tue, Oct 30, 2018 at 5:08 PM Bob Sneidar via use-livecode < > > > use-livecode@lists.runrev.com> wrote: > > > > > >> Yeah I really tried to like the tree view widget but it needs work. > > >> > > >> Sent from my iPhone > > >> > > >>> On Oct 30, 2018, at 13:38, Mike Kerner via use-livecode < > > >> use-livecode@lists.runrev.com> wrote: > > >>> > > >>> In tree view can you hide the keys of the array? I was messing with > > >> using > > >>> it to display directory and subdirectory contents, but it seems that > > you > > >>> have to display the key, which makes some other things more > difficult. > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode@lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode@lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode@lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode