How to copy a row!

How to copy a row!

hardlickhardlick Posts: 14Questions: 0Answers: 0
edited June 2011 in General
how can i copy a specific row that exist on datatable?...

help!

Replies

  • hardlickhardlick Posts: 14Questions: 0Answers: 0
    I want, something like this...
    [code]
    var trToDuplicate = $(this).parent('td').parent('tr'); //(TR, ROW, that i want to copy)
    //clone, and add a new row, with the same data...columns, etc.
    tblSale.fnAddData(trToDuplicate, false); [/code]
  • hardlickhardlick Posts: 14Questions: 0Answers: 0
    Please...Help! how i can copy or clone a row that was previously created by fnAddData,...and that this tr, and td has new attributes that i added with .attr()...
    and insert under the row that i want to copy or clone.
This discussion has been closed.