datatable-datasource.js revision 820d7f2eab2a78412c9803335bb10a2974e7fbf5
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric FerraiuoloYUI.add('datatable-datasource', function(Y) {
feb1dc670b0d4e1c6fcff58b35b36da3dfc5f18cJenny Donnelly * Plugs DataTable with DataSource integration.
feb1dc670b0d4e1c6fcff58b35b36da3dfc5f18cJenny Donnelly * @module datatable
feb1dc670b0d4e1c6fcff58b35b36da3dfc5f18cJenny Donnelly * @submodule datatable-datasource
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo * Adds DataSource integration to DataTable.
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo * @class DataTableDataSource
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo * @extends Plugin.Base
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo DataTableDataSource.superclass.constructor.apply(this, arguments);
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo/////////////////////////////////////////////////////////////////////////////
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo// STATIC PROPERTIES
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo/////////////////////////////////////////////////////////////////////////////
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo * The namespace for the plugin. This will be the property on the host which
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo * references the plugin instance.
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo * @property NS
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo * @type String
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo * @value "datasource"
23905ae5a911176394ebe0bd96cd4a443d9929ceEric Ferraiuolo * Class name.
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo * @property NAME
23905ae5a911176394ebe0bd96cd4a443d9929ceEric Ferraiuolo * @type String
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo * @value "dataTableDataSource"
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo/////////////////////////////////////////////////////////////////////////////
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo/////////////////////////////////////////////////////////////////////////////
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo * @attribute datasource
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo * @description Pointer to DataSource instance.
1b7b07a780dc36179ffd6c2ba65e258b8dba96c5Eric Ferraiuolo * @type {DataSource}
datasource: {
* <dt>datasource</dt><dd>Pass in a new DataSource instance to override the current DataSource for this transaction.</dd>
if(ds) {
onDataReturnInitializeTable : function(e) {