p:datatable frozen column

p:datatable frozen column

sivamsmcasivamsmca Posts: 1Questions: 0Answers: 0
edited April 2014 in General
Hi,

I am currently using 3.1.2 JSF(primeface) version, i am not able to do frozen column. Please help to me how to achieve i tried this code but not working for me.

var oTable2 = $(primfacesDataTableId).find('table').dataTable({
"sScrollX" : "100%", //Scroll
"sScrollY" : "180",
"bAutoWidth" : false,
"bScrollCollapse" : true,
"bPaginate" : false,
"bSort" : false,
"sInfo" : "",
"sInfoEmpty" : ""
});

var oFC = new FixedColumns(oTable2, {
"iLeftColumns" : 4, //Freezed first for columns
"sHeightMatch" : "auto",
"iLeftWidth" : 405
});
This discussion has been closed.