When building a table with aaData, how do I repopulate from a new JavaScript object.

When building a table with aaData, how do I repopulate from a new JavaScript object.

mikerobimikerobi Posts: 3Questions: 0Answers: 0
edited November 2011 in General
I am having a hard time figuring out how to repopulate the table from a new JavaScript object.

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    [code]
    oTable.fnClearTable(); // nuke the old data
    oTable.fnAddData( newData ); // add new data
    [/code]

    :-)

    Allan
This discussion has been closed.