Details in modal

Details in modal

roineroine Posts: 14Questions: 0Answers: 0
edited April 2012 in General
I would like to display details in a modal,is there a way to get all the data from the selected row + all the displayed th?

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Use fnGetData to get the data for a row :-)

    Allan
  • roineroine Posts: 14Questions: 0Answers: 0
    Thanks Allan and how to get the column names?
  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    As in the HTML in the header? Just use a jQuery selector on the HTML, or you could use fnSettings().aoColumns[i].sTtitle .

    Allan
  • roineroine Posts: 14Questions: 0Answers: 0
    edited April 2012
    Thanks Allan, I successfully finished my modal.
This discussion has been closed.