Do Not Set the with of the column in the dataTable
Do Not Set the with of the column in the dataTable
Hi, I am not able to set the width of my data Table and for setting my data Table width i am using this code .
[code]
"bProcessing": true,
"aoColumns": [
{ "sWidth": "12%"},
{ "sWidth": "10%" },
{ "sWidth": "10%" },
{ "sWidth": "8%" },
{ "sWidth": "5%" },
{ "sWidth": "8%" },
{ "sWidth": "15%"},
{ "sWidth": "7%" },
{ "sWidth": "7%" },
{ "sWidth": "10%"},
{ "sWidth": "10%"}
],
"sScrollY": tableheight,
"bJQueryUI": true,
"bAutoWidth": false,
"iDisplayLength": <?php echo PAGESIZE ?>,
"bSort": true,
"sPaginationType":"full_numbers",
[/code]
But the above code is not working properly .Please anybody suggest me if there is any problem in my code or solve my problem by using any other code
[code]
"bProcessing": true,
"aoColumns": [
{ "sWidth": "12%"},
{ "sWidth": "10%" },
{ "sWidth": "10%" },
{ "sWidth": "8%" },
{ "sWidth": "5%" },
{ "sWidth": "8%" },
{ "sWidth": "15%"},
{ "sWidth": "7%" },
{ "sWidth": "7%" },
{ "sWidth": "10%"},
{ "sWidth": "10%"}
],
"sScrollY": tableheight,
"bJQueryUI": true,
"bAutoWidth": false,
"iDisplayLength": <?php echo PAGESIZE ?>,
"bSort": true,
"sPaginationType":"full_numbers",
[/code]
But the above code is not working properly .Please anybody suggest me if there is any problem in my code or solve my problem by using any other code
This discussion has been closed.