DataTrack
- The data track provides functionality for communicating with a server and syndicating a datasource.
- It is not intended to be implemented directly
- Specific tracks should extend the DataTrack
Configuration Options
// Default values shown
var params = {
// Config options inherited from BaseTrack
id : Ext.id(), // a unique ID for the track, if not provided then one will be automatically assigned
name : 'Track', // the name of the track, used in the track selector tree and as the track title
path : '', // path used to position the track in the track selector tree, eg /All Tracks/My Track
minHeight : 40, // the minimum height of the track (if resizable)
maxHeight : 1000, // the maximum height of the track (if resizable)
height : 40, // the height of the track when it is first created
resizable : true, // allow the track to be vertically resized by the user
showControls : false, // show the track's controls when it is first created
cls : 'AJ_track', // class name to apply to the div that contains the track
iconCls : 'silk_bricks', // class name to use for the track's icon
// Config options specific to DataTrack
datasource : '', // URL to the track's data provider
requestMethod : 'POST' // HTTP request method to use
requestParams : null // name : value pairs to send with all requests (object)
};
Requests & Responses
| Request |
Response |
Description |
| AD.SyndicationRequest |
AD.SyndicationResponse |
Syndicate the data service that provides data for this track |
* AD = AnnoJ.Datatypes
Code
Source: minified.js | full.js
* Please report bugs to the most recently listed engineer
| Version | Engineer(s) | Message |
| 2008-May-27 | tontij01(at)student.uwa.edu.au | First formal release with Anno-J v1.0 |
| 2008-Oct-22 | tontij01(at)student.uwa.edu.au | requestMethod and requestParams added as config options. Requested by Michael Pheasant |