Class Index | File Index

Classes


Class aV.DBGrid

A dynamically filled DBGrid class
Defined in: aV.module.DBGrid.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
aV.DBGrid(dataAddress, parameters, printElement, fetch, print)
Field Summary
Field Attributes Field Name and Description
 
Holds the address of the XML table data.
 
Holds the unique identifier and index of the DBGrid object.
 
Holds the POST parameters for the data source page whoese address is given in the dataAddress property.
 
The column index which the data will be sorted by.
Method Summary
Method Attributes Method Name and Description
<static>  
aV.DBGrid.clearAll()
Removes and destroys all the DBGrids on a page
 
refreshData(fullRefresh)
Fetches the data from the address given in dataAddress property, with posting the parameters given in parameters property.
Class Detail
aV.DBGrid(dataAddress, parameters, printElement, fetch, print)
Parameters:
{String} dataAddress
The address to the data XML
{String | Object} parameters
Parameters for the POST call to the *dataAddress*
{HTMLObject} printElement
The HTML container element where the created table will be placed
{Boolean} fetch
Set true to fetch immediately when the object is created
{Boolean} print
Set true to print the table immediately after the data is fetched.
Requires:
(aV.ext.string.js)
(aV.main.events.js)
(aV.main.ajax.js)
(aV.main.visual.js)
(aV.plg.customHint.js)
(aV.plg.infoBox.js)
Field Detail
dataAddress
Holds the address of the XML table data.

guid
Holds the unique identifier and index of the DBGrid object.

parameters
Holds the POST parameters for the data source page whoese address is given in the dataAddress property.

sortBy
The column index which the data will be sorted by. Would be boolean false if no column is set.
Method Detail
<static> aV.DBGrid.clearAll()
Removes and destroys all the DBGrids on a page

refreshData(fullRefresh)
Fetches the data from the address given in dataAddress property, with posting the parameters given in parameters property.
Parameters:
{Boolean} fullRefresh Optional
If true, the DHTML table is regenerated after the data is fetched.

Documentation generated by JsDoc Toolkit 2.0.1 on Sun Aug 03 2008 14:14:38 GMT+0300 (EEST)