dynamically add space to table
dynamically add space to table
lastwish
Posts: 5Questions: 0Answers: 0
hey Allan,
I wonder if it is possible to make the table wider and wider as long as it needs.
plus, i need to column's titles to align from the left.
for example, im adding columns dynamically and i dont want them to spread all over the table width (which i initialize with 1200px), i want to to stick for the left as much as possible without making the long title become couple of rows. for example :
this
is
title
here is my code to init the table :
"sScrollY": $("#main_div").height()+'px',
"sScrollX": "100%",
"sScrollXInner": "1200px",
"bScrollCollapse": true,
"bPaginate": false,
"bLengthChange": false,
"bFilter": false,
"bInfo": false,
"bSort": false,
"bAutoWidth": false
its all written inside document.ready.
just reminding, columns are add dynamically
I wonder if it is possible to make the table wider and wider as long as it needs.
plus, i need to column's titles to align from the left.
for example, im adding columns dynamically and i dont want them to spread all over the table width (which i initialize with 1200px), i want to to stick for the left as much as possible without making the long title become couple of rows. for example :
this
is
title
here is my code to init the table :
"sScrollY": $("#main_div").height()+'px',
"sScrollX": "100%",
"sScrollXInner": "1200px",
"bScrollCollapse": true,
"bPaginate": false,
"bLengthChange": false,
"bFilter": false,
"bInfo": false,
"bSort": false,
"bAutoWidth": false
its all written inside document.ready.
just reminding, columns are add dynamically
This discussion has been closed.
Replies
any way to do that?