Search code examples
jquerydatatabletapestrycolumn-width

Tapestry: Need to set column width in jquery/datatable


I am using jquery/datatable. I have a column,Action that contains 3 hyperlink images. Right now, the 3 images is sometimes rendered on 2 separate line. I need them to be on 1 line. I think I need to set the column width. How do I do that?
Any help would be much appreciated. Thanks.


Solution

  • I found the solution already. I need to add css white-space:nowrap; in a div surrounding the images.

    Here is the code fragment

    <div style="white-space:nowrap;">