Datatable width relative to content

Datatable width relative to content

webbhelpwebbhelp Posts: 5Questions: 0Answers: 0
edited February 2014 in General
Hi!

I am using form fields in my datatables, and I want the datatable table to have a width relative to the content.
Because sometimes I got like 7 columns with 7 fields in, then it look good.
but when I only have 2 fields in the datatable, the width for 7 fields is to width for just 2 fields.

Is this even possible to make the datatables width relative to the content without setting a css Width for every different tables.

Thanks in advance!

Replies

This discussion has been closed.