UPDATED!!
Breaking down the question as suggested.
- I need to create a Look & Feel for a search application
- I need to have the components displayed on the left hand side and on the right I can开发者_开发问答 drag-and-drop them and enter the data for the search criteria
- If there are more than one condition I would like to drag and drop the condition
- Finally I need to save/edit/open existing query
I am looking to build a query builder with drag and drop facility to build the query. I was wondering if there are any pointers for this.
I have looked into the jQuery plugins and some examples, but nothing to what I am looking for. Any suggesting?
Well, if you fail to find something that will work completely how you want. You could try using this idea as a base and coding it up yourself:
http://www.codeproject.com/KB/custom-controls/SqlWhereBuilder.aspx
Guess this is not very useful, but I'd guess you have to code something like that yourself. I've been using jQuery for a long time now, and I've never seen any plugins like that. Ever.
Its late to reply , but in case somebody come on this page below is the correct solution on jquery. http://querybuilder.js.org/
There is a solution for this problem as a drag and drop application DND-Query-Builder
精彩评论