Fixed Column plugin header width not aligne

Fixed Column plugin header width not aligne

hananhanan Posts: 1Questions: 0Answers: 0
edited June 2012 in Plug-ins
Firstly, i want to appreciate this amazing work. Every day i discover more impressive features in datatables. Datatables is a life saver. Great work!

I have a small problem when using Fixed columns. The width of the header cells are not aligning with the width of the body of the fixed columns.
Here is my debug code #ewefuw.

This is the code:
[code]
var reportsTable = $('#reportsTable').dataTable({
"aoColumnDefs": [
{bSortable:false, "aTargets": ['noSort']},
{bSearchable: false , "aTargets": ['noSearch']},
{sSearchable: false , "aTargets": ['noSearch']}
],
"bSortClasses":false,
"bJQueryUI": true,
"iDisplayLength": 5,
"bFilter": true,
"aLengthMenu": [5, 10, 15, 20, 25, 50],
"sScrollX": "100%",
"bScrollCollapse": true,
"bScrollAutoCss": true,
"bAutoWidth":true,
"sPaginationType": "full_numbers",
"sDom": '<"H"<"toolbar">>t<"F"lip>',
"oColVis": {
"buttonText": btnTxt,
"aiExclude": aiExcludeArr
}

});

var oFC = new FixedColumns( reportsTable, {
"iLeftColumns": 4,
"sHeightMatch": "auto"
});


[/code]

Please Help...

Replies

  • mabegonmabegon Posts: 1Questions: 0Answers: 0
    Hi!

    Someone have a solution for this problem?

    Thanks!
    Marc
  • siddossiddos Posts: 2Questions: 0Answers: 0
    Hi,

    I am facing the same problem...can someone please help.

    Thanks,
    Sid
  • the_bossthe_boss Posts: 2Questions: 0Answers: 0
    I've the same problem too.

    I'm using DataTables 1.9.4 and FixedColumns 2.0.3.
    Can anyone help me please?

    Thanks
  • the_bossthe_boss Posts: 2Questions: 0Answers: 0
    It only occurs when I'm using Chrome.

    I've been reading other threads about this problem, but I haven't got the solution.
  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin
    Please all, link to a test case so I can see the issue, debug it and fix it: http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read

    Allan
  • andrewjohnknoxandrewjohnknox Posts: 4Questions: 0Answers: 0
    Hi,
    Awesome plugin, thank you! But.. also having the same problem - I've posted an example here:

    http://live.datatables.net/ulileh/17

    All browsers seem to have an issue with the fixed column alignment and IE (up to 9 that I tested) has issues with the non-fixed columns as well.
  • ghulamghulam Posts: 8Questions: 0Answers: 0
    I too have a similar problem with fixedcolumn plugin someone knows how to fix it??
  • siddossiddos Posts: 2Questions: 0Answers: 0
    Hi Allan,

    Here is the test case. http://live.datatables.net/oyujow

    Thanks for the help.

    Sid
This discussion has been closed.