Column data wrapping with dynamic number of columns
Column data wrapping with dynamic number of columns
sdinesh21
Posts: 37Questions: 0Answers: 0
Hey Allan,
I require your help on an issue. I have a datatable where on initial load, there are 6 columns and Column6 has bVisible set as false. While changing the view later, the bVisible is flipped to true for Column6 (and new data will be fetched from server). The datatable has bAutoWidth as true, hence the initial load with 5 visible columns display properly within the window pane limits. However, when the view is changed, the Column6 appears outside the window pane. I want it to appear within the window pane limit by wrapping the column data when required. Please note that the table is also set to refresh every 30 seconds, so there will be new column data which would also require wrapping.
I have posted a link with the code. Could you please look into it and advise when you find time?
http://live.datatables.net/ivofeb/2
Kindly let me know if you need datatables debugger code too.
I require your help on an issue. I have a datatable where on initial load, there are 6 columns and Column6 has bVisible set as false. While changing the view later, the bVisible is flipped to true for Column6 (and new data will be fetched from server). The datatable has bAutoWidth as true, hence the initial load with 5 visible columns display properly within the window pane limits. However, when the view is changed, the Column6 appears outside the window pane. I want it to appear within the window pane limit by wrapping the column data when required. Please note that the table is also set to refresh every 30 seconds, so there will be new column data which would also require wrapping.
I have posted a link with the code. Could you please look into it and advise when you find time?
http://live.datatables.net/ivofeb/2
Kindly let me know if you need datatables debugger code too.
This discussion has been closed.
Replies