Hidden row with datatable in it

Hidden row with datatable in it

ChrilleChrille Posts: 19Questions: 0Answers: 0
edited August 2010 in General
I have made a hidden row solution, as described in the api docs.
I want the row that shows to contain a new datatable, with details of the row.

The code belows basically creates a new table and fills it with selected rows from the original table (these are hidden in the original table)

Firebug reports "oColumn is undefined" with the below code, I'm not sure why?

[code]
$('span.visaGruppDetaljer').each(function() {
$(this).click(function() {
var nTr = this.parentNode.parentNode;
var varor = $(this).attr("class").split(" ");
var varorArray = varor[1].replace(/varor/, "").split("n");
var html = "";

for(i=0; i

Replies

  • jeronejerone Posts: 12Questions: 0Answers: 0
    edited August 2010
    You have no tbody tags defined, plus you close the table with ""???
  • ChrilleChrille Posts: 19Questions: 0Answers: 0
    edited August 2010
    Forgot both header and body... oops :)
    Hehe, is a typo. Thanks for your help
This discussion has been closed.