Active Query Builder support area

Criteria Builder Operator as Dropdown

Avatar
  • updated
  • Completed

In Query Results tab in Criteria Builder how to make Operator (is equal to, is in list...) as a drop down list. Now it is showing like a anchor button i think.

Am working on MVC4 application with SQL server database and AQB version is 2.11.2

Avatar
Andrey Zavyalov, PM

I am just trying to understand logic of a "non-techincal user". Something prevents him from understanding of anchor button for choosing operator, but he doesn't experience any problems from the rest of the anchor buttons with same logic (click to see the list of possible values). Seems strange, don't you think so?

Anyway, what we can do is to make an option for the operator anchor button to look like a combo box, i.e. to have a solid border around it and an arrow button at the right. You can use any graphical editor to draw a border on the screenshot from my previous message to understand what it will look like. Let me know if this will suit your needs.

Alternatively you can get the full version with source code and modify the source JavaScript code the way you like.

Avatar
Gopichand

Operator(is equal to ..) as dropdown is enough. If it look like a dropdown list that is enough. It might be heavier but easy to understand for non tech users.

Avatar
Andrey Zavyalov, PM

Would you like to have dropdown lists everywhere where anchor buttons used now, like this:

What we can do is to make them look like drop-down lists... But don't you think that it will make this control much heavier?

Avatar
Andrey Zavyalov, PM

We will implement the way to use custom editor for any UI element in Criteria Builder to replace anchor button with drop-down list or anything else upon your discretion.

Avatar
Gopichand

Anchor button is not understandable for non technical end users. By default it won't show other operators available or not until we move the cursor.

Avatar
Andrey Zavyalov, PM

Hi,

Thank you for your request.

I am afraid that it's not possible to do as you wish. What's wrong with anchor buttons?