How to modify a single column without affecting the other columns?
How to modify a single column without affecting the other columns?
dtUser2011
Posts: 11Questions: 0Answers: 0
Hi,
I want to modify a single column in a table without affecting the other columns, and I'm not sure if this is possible. For example, in column 2 below, I want to display each string in a separate line; if I do this, however, the string in column 1 will be readjusted to display in the center of the row. I don't want this.
----------------------------
Column 1 | Column 2
----------------------------
| BB
A | CC
| DD
How do I get column 1's string to display on the top row?
----------------------------
Column 1 | Column 2
----------------------------
A | BB
| CC
| DD
I also have a real example here: http://live.datatables.net/uhunib/5/edit
Thanks for your help!
I want to modify a single column in a table without affecting the other columns, and I'm not sure if this is possible. For example, in column 2 below, I want to display each string in a separate line; if I do this, however, the string in column 1 will be readjusted to display in the center of the row. I don't want this.
----------------------------
Column 1 | Column 2
----------------------------
| BB
A | CC
| DD
How do I get column 1's string to display on the top row?
----------------------------
Column 1 | Column 2
----------------------------
A | BB
| CC
| DD
I also have a real example here: http://live.datatables.net/uhunib/5/edit
Thanks for your help!
This discussion has been closed.
Replies
Sorry to bother y'all. I think I just figured out the CSS and then using the "sClass" attribute to make this work.
Thanks!