Integration of bootstrap, tabletools and fixedcolumns
Integration of bootstrap, tabletools and fixedcolumns
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
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
This discussion has been closed.
Replies
I've made a note to look into this before the next FixedColumns release.
Thanks,
Allan