sScrollX and line height

sScrollX and line height

ApozieurApozieur Posts: 1Questions: 0Answers: 0
edited February 2013 in DataTables 1.9
Hello,
First of all sorry for my bad English.
I have a large table (800rows*19cols) and i use the following script :
[CODE]


$(document).ready(function() {
$('#tabinstance').dataTable( {
"sScrollY": 200,
"sScrollX": "100%",
"sScrollXInner": "110%"
} );
} );


[/CODE]
Y-scroll is ok and put a height of 200px but X-scroll doesnt work and overflow the container (same thing when i set px instead of %). Anyone know why?
And i would also like to know how to have 2rows max in cell because when i have large text content, i have something like this in cell :
[QUOTE]
fdkzkkdidf kdkfkd
sdkkdf kkzek dks
skdkskdkkz kkds
dskkdkf kskd kf
[/QUOTE]
and i would like :
[QUOTE]
fdkzkkdidf kdkfkd sdkkdf kkzek dks skdkskdkkz kkds dskkdkf
kskd kf
[/QUOTE]
(2 rows of text max)

thanks for your time and help.

PS : i also tried some API like add a new row or editor but it doesnt work, wich js file is needed for this?
This discussion has been closed.