Integration of bootstrap, tabletools and fixedcolumns

Integration of bootstrap, tabletools and fixedcolumns

kityeungkityeung Posts: 2Questions: 0Answers: 0
edited July 2013 in General
I am using bootstrap, I think it is a great feature for datatables. I try to integrate bootstrap with tabletools (single select), the result is great.
I also add a function to open the record when I double click the row.

function clickRowHandler() {
$('#example tbody tr').bind('dblclick', function () {
var aData = oTable.fnGetData( this );
window.location.href = ''+ '?id=' + aData.id;
});

However, when I add fixedcolumns, the cell of fixedcolumn of the selected row is not highlighted.
Only the remaining cells in the row has colour change. I think that the original table is separated into two parts.
Therefore, the cell in the clone table cannot be retrieved by tabletools.
The same result is shown when I using the clickRowHandler function. (no response for fixedcolumns cells as the id of clone table is not exist)

I would like to know there are any similar effects like the combination of
http://live.datatables.net/ohesof/edit#preview
http://live.datatables.net/ovesuy/edit#preview

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    I don't think this has anything to do with the Bootstrap integration - but rather than FixedColumns will create a second table which is fixed into position. So when the selected class is added to the row, its sounds like it isn't updating both of them.

    I've made a note to look into this before the next FixedColumns release.

    Thanks,
    Allan
This discussion has been closed.