Issues in sScrollY

Issues in sScrollY

jobybaztyjobybazty Posts: 39Questions: 0Answers: 0
edited December 2012 in General
Hi Allan...

Thank you for your quick reply. I need a small help from you.
I am using datatable inside a JQuery UI dialog box. and I want to add datatable scroller into it. But when I insert the scroller, I lost the design of my heading. I will attach the image with this mail.

But, when I type anything in the search box, the design getting OK.

The code used for this is,

$('#exEmpListTable').append('        EC No       Name          ');
var oTable = $('#exEmpListTable').dataTable({ "bPaginate": false, "sScrollY": "100px", "bJQueryUI": true, "bScrollCollapse": true , "oSearch": {"sSearch": " "} });
oTable.fnSort( [ [1,'desc']] );

$("#btnShowSimple").click(function (e){
$("#Dialog").dialog();
});

Please help me to find a solution for this.

Regards,

Joby Joseph
This discussion has been closed.