Giter Site home page Giter Site logo

mfauveau / angular-query-builder Goto Github PK

View Code? Open in Web Editor NEW
218.0 12.0 73.0 108 KB

Dynamic query building UI written in Angular.

Home Page: http://mfauveau.github.io/angular-query-builder

License: MIT License

CSS 11.58% HTML 88.42%
angular angularjs angular-directives

angular-query-builder's People

Contributors

mfauveau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-query-builder's Issues

Moved operator inside of rules

Hey, great work!

I am still working on this, but I think operator belongs inside of rule as well as in group if they are !$last.Then the user may change the operator without having to go back to add a new group.

  • Makes it more user friendly and readable to have the operator appear after a rule if the rule is !$last in the group.
  • Some rules will have an empty operator if they are single.
  • Changes the formation of the query a bit.
  • Make group into an array groups[]
  • Add group adds an element to this array
  • and/or between groups and and/or between rules

Maybe I'll fork when I have a solid version.

How do i pass the dynamic fields

Hi Every one,
I need to achieve below, could any one suggest me?

  1. I need to pass the fields dynamically from the controller, how do i do that?
  2. I'm using query builder on my model pop-up, based on the grid row selected problem is i need to clear the previous conditions (meaning when ever pop-up loaded i need to reset my condition or either i saved the SQL query on my database so based on the value i need to dynamically construct the condition based on by value)

Not able to run page after downloading the code

Hi,
First, appreciate your amazing work in porting to angular for building boolean query. demo page works great.

However when try to download your code and run locally its not working.
Could you please help me out in ensuring that you have all code added in the github.
I cant see queryBuilderDirective.html.

When i run the index.html nothing appears
I badly need your solution as am going to do something similar.

Please help me out.

Regards,
Kamal

demo doesn't work in IE8

Hi
I like your solution, but I need to support IE8
Demo doesn't work in IE8, I get unknown error in JS console

any ideas?

Json to Pojo

I couldn't able to convert the json to pojo. Can you provide a solution for it?
As it is recursive i.e group inside rule i am getting mapping exception.

Doesn't work

With your latest commit "minor cleanup" I couldn't make this work. The code on gh-pages branch works fine.

Following Expression

Are you able to build the following expression:

(FirstName NotEquals "A" AND FirstName NotEquals "B" OR LastName NotEquals "C")

I've been having a hard time having different operators at the top level.

Thanks for your help,
Kevin

Reverse Query building

Hello, i am working with your library, it's really good, thank you! But, maybe, you already have a solution to build ui based on query string(in purpose to edit already existing query)? For example we have query string (User = 'username' AND (User <> 'username1' OR User = 'username2')), and ui build groups and conditionals based on this string?

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.