Giter Site home page Giter Site logo

Filtering about liquor-tree HOT 19 CLOSED

amsik avatar amsik commented on August 21, 2024
Filtering

from liquor-tree.

Comments (19)

amsik avatar amsik commented on August 21, 2024 4

from liquor-tree.

amsik avatar amsik commented on August 21, 2024 2

Agree with you. I'm working on it already.
About the last one... We will have a function which checks by condition. Something like this:

{
  filter: function(term, node) {
    return node.data.number > term
  }
}

from liquor-tree.

amsik avatar amsik commented on August 21, 2024 1

I'm trying to do the library as easy as it possible. We have an opportunity to override the matcher function.

...
options: {
  filter: {
    matcher(query, node) {
       
    }
  }
}
...

Maybe in the future we will be able to switch some option to highlight the matched text. I hope at an early future :)

from liquor-tree.

Diaskhan avatar Diaskhan commented on August 21, 2024 1

Ahhhh it's damn good.
It's very Awesome, Dude u Make my day )))))))))
Topic could be closed !
image

from liquor-tree.

amsik avatar amsik commented on August 21, 2024 1

I very happy to help you :)

from liquor-tree.

Diaskhan avatar Diaskhan commented on August 21, 2024

I guesse it must be a few scenarios
Here scenario number 1
In https://vue-treeselect.js.org/ this scenario great works!
image

from liquor-tree.

Diaskhan avatar Diaskhan commented on August 21, 2024

image

from liquor-tree.

Diaskhan avatar Diaskhan commented on August 21, 2024

And 3 scenario is filtering by attributes of model like datecreation, is folder,
Its for actually for this scenario, when we want filter by column "number" !
image

from liquor-tree.

amsik avatar amsik commented on August 21, 2024

Working on the 2th scenario

from liquor-tree.

Diaskhan avatar Diaskhan commented on August 21, 2024

U could use https://github.com/bevacqua/fuzzysearch
It is Fast and Fourious )))

from liquor-tree.

Diaskhan avatar Diaskhan commented on August 21, 2024

Early future ))))
Please look at https://vue-treeselect.js.org/ his got good functional!

from liquor-tree.

amsik avatar amsik commented on August 21, 2024

Okay :) I will check.

from liquor-tree.

Diaskhan avatar Diaskhan commented on August 21, 2024

Could u include this new functional in documentation ?

from liquor-tree.

Diaskhan avatar Diaskhan commented on August 21, 2024

And how to use it !

from liquor-tree.

amsik avatar amsik commented on August 21, 2024

Yes. I'm planning to do it today and add more demos

from liquor-tree.

Diaskhan avatar Diaskhan commented on August 21, 2024

What do u think about drag n drop functionalyti ?
For example i wanna transfer node with subnodes in another node ?

from liquor-tree.

amsik avatar amsik commented on August 21, 2024

I have created a new issue

from liquor-tree.

Diaskhan avatar Diaskhan commented on August 21, 2024

How Could i Test Filtering ??
Could u provide jsfiddle ??

from liquor-tree.

VPihalov avatar VPihalov commented on August 21, 2024

Hi! Thank U for the awesome lib.
But where I can add filter options with emptyText in the tree stucture in order to change "Nothing found!" to my other message?

from liquor-tree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.