YUI: DataTable Refresh

I've used various different methods on refreshing the data in a YUI DataTable. I just came across another that I thought was novel enough to share.

Several websites mention using the sendRequest method on the data source. That does refresh the data, but it does not cause a loading message to appear in the data table. It dawned on me that all you need to do is use the showTableMessage method of the data table to put whatever message you want on there, and then the onDataReturnInitializeTable clears it once the sendRequest is complete.

  myDataTable.getDataSource().sendRequest('', { success: myDataTable.onDataReturnInitializeTable, scope: myDataTable });

Easy. I hope this helps someone else out there.