Datatables column fixed and attributes

Datatables column fixed and attributes

segnini75segnini75 Posts: 6Questions: 0Answers: 0
edited November 2011 in General
Hello!, fisrt at all i wanna say that datatable is the best ever solution for dinamic tables, thanks for your effort.

I have a problem in one personal project that im trying to deal with. The problem is with fixedColumns, when i apply to fix some columns the table dom loss all attributes like ID, and some others that i need to cooperate with other scripts that are not modificable.

is there any way to make datatables keep all these attributes after a colfix call?

thats the way im fixing the columns:

[code]tablasFijas[$(tab).attr('id')]=new FixedColumns(tablas[$(tab).attr("id")],{"iLeftColumns": eval($(tab).attr('prd_col_fixed'))});[/code]

Thanks a lot!

Replies

  • segnini75segnini75 Posts: 6Questions: 0Answers: 0
    i forgget to say that tablas is an object that contains all datatables object that i call after using the attr_id in, for example, a $('.dataTables').each(function(){
    ...
    })
This discussion has been closed.