Questions tagged [redquerybuilder]

A JavaScript SQL editor UI component.

35 questions
0
votes
1 answer

How can I set the value of gwt-Textbox through jquery.val()?

I am using redQueryBuilder. It uses gwt for rendering the textbox elements. I want to change the value of textbox on focus of the element. I am trying the following code. $(".gwt-TextBox").val("something"); I can the see the value in ui, but when…
Ratnesh
  • 1
  • 4
0
votes
1 answer

Can I incorporate RedQueryBuilder into a visual query editor as a constraint editor?

I've been working with RedQueryBuilder primarily as a tool for allowing users to place constraints on a single table query. However, I need to add constraints to a more generic visual query and was wondering how to go about this using RQB. You can…
Scott Wilson
  • 1,650
  • 1
  • 17
  • 14
0
votes
0 answers

Implementation of redquerybuilder in php

I am implementing redquerybuilder in my project. I have implemented up to UI level, But I am not getting how to fetch records from database and convert it into it's special JSON format. When we click on 'Search' button, the ajax request is trigger…
chanchal
  • 598
  • 6
  • 12
0
votes
1 answer

How to set the width of suggest boxes in RedQueryBuilder

After you have chosen a field name, then you start typing in the value textbox, the dropdown defaults to a width of 150px which causes lots of things to be cut off. A scrollbar shows up so you can scroll left and right, but I would like to figure…
Severun
  • 2,893
  • 1
  • 16
  • 22
0
votes
1 answer

Catching SQL problems in an initial RedQueryBuilder query

I'm using RedQueryBuilder to implement a table filter on a web application. When the user clicks an Apply Filter button the current sql and params are sent to a backend application, and the page refreshes. I read in the sql and params back into RQB…
Scott Wilson
  • 1,650
  • 1
  • 17
  • 14
0
votes
1 answer

RedQueryBuilder - recursive query

The issue is a self referencing schema such as employee has a supervisor that is an employee. This is tracked with a FK of supervisor_id in the employees table. The FKS is described below: "fks": [ { "referencedTableName": "employees", …
Hoffmania
  • 45
  • 4
0
votes
1 answer

How can I update the targetId of a particular RQB element?

I have an element on the page, i.e. I then add the RQB element with: RedQueryBuilderFactory.create({targetId:'foo1', meta:myMeta, onSqlChange:sqlChange, onTableChange:tableChange, enumerate:enumerate, …
Severun
  • 2,893
  • 1
  • 16
  • 22
0
votes
1 answer

Suggestion request without user entering partial text

Is it possible to have RedQueryBuilder make the suggest call when a user clicks on the argument box but doesn't enter any partial text? For instance, in the screenshot below, the user has not entered any text but just clicked the text box. It would…
NGambit
  • 1,141
  • 13
  • 27
0
votes
1 answer

Possible bug in foreign keys

I think I may have found a bug in the tardis branch. It appears that if a foreign key is specified it no longer adds an additional field Listbox with fields from the foreign key table. In the example at appspot, if I select COUNTRY as the table,…
Severun
  • 2,893
  • 1
  • 16
  • 22
0
votes
1 answer

Attempting to build RQB from source getting assert error from testJsList

LOVE RQB!!, I want to get the source building. I have cloned the repo with git and I believe I have downloaded and have all of the bits installedbut when I run "mvn clean install" it goes through some machinations, then finally fails with the…
Severun
  • 2,893
  • 1
  • 16
  • 22
0
votes
1 answer

Redquerybuilder date field issue

I am using redquerybuilder version 0.6 to create a querybuilder for my application. I downloaded the archive and added the script as per the document. I have a date field to select and query the database. When I select the date field from the field…
user12757
  • 39
  • 1
  • 9
0
votes
1 answer

Using RedQueryBuilder directly from GWT

I would like to use redquerybuilder in my current GWT project and just inherit the redquerybuilder api in my project module xml file. I have used the redquerybuilder jar and added the js.client to the core jar and can now inherit and compile my…
0
votes
1 answer

Modify the query generated to run LIKE clause-Red query builder

I am using Red query builder as the query builder in my django application with MySQL database. I've successfully changed the query so that it runs in mysql console. I'm stuck with executing query containing 'LIKE' clause. In the query returned from…
user12757
  • 39
  • 1
  • 9
0
votes
1 answer

Select clause editing in RedQueryBuilder

I'm looking into using RedQueryBuilder for a web-based query builder. I want my users to be able to specify what data they want to retrieve in the select clause, but the demo site only shows selecting a single table, rendering all the columns of…
Jpnh
  • 806
  • 1
  • 11
  • 22
0
votes
1 answer

Joining tables in RedQueryBuilder

Is there a way to select more than one table in RedQueryBuilder ? The context is : I need to provide an easy way to help blind people to do some queries. Thanks for the help =)
kaska
  • 3
  • 1