≡
×
Plus
Manual
Examples
Reference
Download
Blog
Community
Support
Details in modal
Details in modal
roine
Posts: 14
Questions: 0
Answers: 0
April 2012
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
allan
Posts: 65,846
Questions: 1
Answers: 10,956
Site admin
April 2012
Use
fnGetData
to get the data for a row :-)
Allan
roine
Posts: 14
Questions: 0
Answers: 0
April 2012
Thanks Allan and how to get the column names?
allan
Posts: 65,846
Questions: 1
Answers: 10,956
Site admin
April 2012
As in the HTML in the header? Just use a jQuery selector on the HTML, or you could use fnSettings().aoColumns[i].sTtitle .
Allan
roine
Posts: 14
Questions: 0
Answers: 0
April 2012
edited April 2012
Thanks Allan, I successfully finished my modal.
This discussion has been closed.
Replies
Allan
Allan