this.subscribe('cellClickEvent',function(e, obj) { var target = e.target, column = this.getColumn(target), record = this.getRecord(target), data = record.getData(), recordIndex = this.getRecordIndex(record); //manipulate data here this.updateRow( recordIndex, data);
20110630
How to update a row in YUI2 DataTable
Here's how to update the data in a YUI2 ScrollingDataTable:
A Switch and A New Direction
This is going to be a collection of little scripts and other stuff from now on.
YUI2 Datatable:
Here's how you refresh the data through the DataSource:
YUI2 Datatable:
Here's how you refresh the data through the DataSource:
this.DS.sendRequest( null, { scope: this, success: function( sRequest, oResponse, oPayload) { this.onDataReturnInitializeTable( sRequest, oResponse, oPayload); }, failure: function( sRequest, oResponse, oPayload) { } }, this);
Subscribe to:
Posts (Atom)