Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
225
Auto-Size, Auto-Generated Columns
posted

Hi,

Is it possible to set the column widths in the WebDataGrid to auto-size depending on the text within? I've edited the CSS to stop text wrapping in the cells (white-space: no-wrap;), which has worked nicely, however now the text is hidden in some of the columns because they all size the same. I've noticed in Inspect Element that the generated table header elements (th) determine the size of the column.

Any help would be greatly appreciated.

Regards,
Tom.