Size table
Size table
kastendeuch
Posts: 5Questions: 0Answers: 0
Hello,
I want to make a table but the boxes change when I change pages. I tried to use FixedColumns but it is not pretty . I would like scrolbars are in boxes or there's too many characters there and the table remains with the arrows to change pages. Which is not the case with Fixedcolumns.
I show two screen.
http://hpics.li/6d534d9
http://hpics.li/e89283f
For example to have a scroll just for the fifth row in the firste column.
Sorry for my poor english. And thank you for help.
I want to make a table but the boxes change when I change pages. I tried to use FixedColumns but it is not pretty . I would like scrolbars are in boxes or there's too many characters there and the table remains with the arrows to change pages. Which is not the case with Fixedcolumns.
I show two screen.
http://hpics.li/6d534d9
http://hpics.li/e89283f
For example to have a scroll just for the fifth row in the firste column.
Sorry for my poor english. And thank you for help.
This discussion has been closed.
Replies
If I understand your request correctly, you want scrollbars in the table cell in case of a text overflow ?
I think it's a bad design.
In a table I designed long ago, if the text was overflowing you would see the rest of it while hovering over the cell (while maintaining a fixed column size). That way the cell size wouldn't change and you could still see the whole content.
This can be easily achieved by using the HTML's title attribute or even better - a div powered by JQuery.
Either way - I think it's a desired feature.
yes,That's a good idea but the problem it's i dont have the knowledge in jquery and js I have only knowledge in php html css
do you have any tips for me please?
I tried to used table-layout: fixed; on the
and
overflow: hidden on the
Regarding the cell itself, for now, I guess you have no choice but to use DataTables' sWidth an specify a fixed width.
Regarding the suggestion I've made - I guess it needs to be implement within the DataTables plugin itself or as an extra plugin.
Allan
i used the Extra scroller on my table and was not bad before i tried to add Two buttons. when i added two buttons "delete" and "update" for my table i have a problem with the CSS. In fact my css disappears.
I do not know what to do.
Allan
I updated my table then there is no boxes with lots of characters so I removed the scrollbars but when I add columns to my table I always errors. I used firebugs for to see errors. . i could watch a lot of errors in demo_page.js and demo_table.js. I tried to use js debugger and i had a page venkman-static.js who pop but i didnt see other things.
an extract from firebugs
http://hpics.li/a2cee9c
property "zoom" unknown.Declaration surrend. line 36
Declaration expected but '*' found. Transition to the next statement. line 82,157,268,338
property "moz-border-radius" unknown.Declaration surrend. line 120
property "box-sizing unknown.Declaration surrend.