Class net.nextdb.html.QueryForm
Object
|
+--net.nextdb.html.Form
|
+--net.nextdb.html.QueryForm
- class
net.nextdb.html.QueryForm
- extends net.nextdb.html.Form
Defined in api.docs.js
|
Method Summary |
Object
|
queryCallback(<Function> callback)
set the query callback, this is necessary to receive the rows returned from the query.
|
void
|
render(<HTMLElement> div)
renders the form into the div
|
| Methods inherited from class net.nextdb.html.Form |
interceptor, cancelCallback, afterRenderCallback, layout, expandFields, omitFields, orderFields, confirmFields, setMessageId, message, obscureFields, options, defaultValues, validation, destroy
|
net.nextdb.html.QueryForm
net.nextdb.html.QueryForm(conn,queryName)
queryCallback
Object queryCallback(<Function> callback)
set the query callback, this is necessary to receive the rows returned from the query.
The callBack signature is callack(object,error) the object is the dynamically generated data structure of table rows from the query, error is either an instance of net.nextdb.Error in the case of an error or undefined if everything succeeded
Parameters:
callback - takes two parameters, rows and error.
render
void render(<HTMLElement> div)
renders the form into the div
Documentation generated by
JSDoc on Mon Mar 29 20:15:50 2010