Fixed column problem with nested table

Fixed column problem with nested table

sarasara Posts: 3Questions: 0Answers: 0
edited June 2013 in General
Hi,
I have a problem with fixed column.I searched the forumn but i could not find a solution.

When i apply fixed column to datatable,i get following error:

Line: 3500
Error: Unable to get value of the property 'firstChild': object is null or undefined

I think this error occures because of nested table.I have a table in the main table.when i comment the nested table it works ok ! I think fixed column affects on all tables.

This is my page:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">







$(document).ready(function () {
var oTable = $('#thistable').dataTable({
"sScrollX": "100%",
"sScrollXInner": "150%",
"bScrollCollapse": true
});
new FixedColumns(oTable);
});








fix column


column 1





This is my nested table that contains html.









1


2


3




4


5


6




7


8


9










I apreciate your answer.Thanks.

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Looks like there is a problem with the nested table. Not entirely sure off the top of my head what is causing it. I'll try to make some time to look at this soon.

    This is a live page showing the problem: http://live.datatables.net/erufej/edit#javascript,html

    Allan
This discussion has been closed.