Sunday 15 February 2015

javascript - freeze table header using datatables plugin -


I am using the datatable plugin and trying to freeze my table headers, and using the table display Has been created. My problem is that there is some problem with the column width in the header. It is not equal to the body width of the body, how is the breadth width of the body similar to the width of the body?

My code:

  $ ("# rate"). DataTable ({"bPaginate": incorrect, "scrollY": "200px", "sScrollX": "100%",});  

Remove the last comma after the SSCLX 100% and see.

  $ ("# rate"). DataTable ({"bPaginate": incorrect, "sScrollY": "200px", "sScrollX": "100%"});    

No comments:

Post a Comment