using Fixed Columns extension with dynamic data

using Fixed Columns extension with dynamic data

digglekdigglek Posts: 2Questions: 1Answers: 0

I am currently trying to get the Fixed Columns extension working but having some issues when using dynamic datasets.

I have tested a basic example using a table that is implemented directly in DOM and it works fine but when I try and use it with a dynamic dataset I get an error on the line in the FixedColumn.js

this.dom.grid.dt.parentNode.insertBefore(nSWrapper, this.dom.grid.dt);

Basically dt is undefined. I have checked where dt is initialised and it is done in the fnConstruct but the dom doesn;t contain the scroll div

this.dom.grid.dt = $(this.s.dt.nTable).parents('div.' + classes.sScrollWrapper)[0];

Any ideas?

Answers

  • digglekdigglek Posts: 2Questions: 1Answers: 0

    Resolved this I was missing the t setting in the sDom

    "sDom": 'Tf<"clear">t',

This discussion has been closed.