Title: Multiline datagrid header only shows one line in 1.3.2 Post by: Kevin on January 22, 2013, 02:26:12 PM In all previous versions, it was possible to create a multilined datagrid header by just inserting a <br> tag in the title. Multiline headers are extremely helpful if you have many columns with 'long' heading names. Thus splitting them up into 2 lines will technically halve the width of the table. The following code creates a 2 line header in V1.3.1, but you only see the 1st line in V1.3.2
Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> Title: Re: Multiline datagrid header only shows one line in 1.3.2 Post by: stworthy on January 22, 2013, 07:05:01 PM The header cells and body cells have the same height in version 1.3.2. This makes the datagrid looks more nice. To enable multi-line header, please include the <style> below on the page.
Code: <style type="text/css"> Title: Re: Multiline datagrid header only shows one line in 1.3.2 Post by: Kevin on January 23, 2013, 01:45:29 AM Thanks very much stworthy, works a treat. I just wish I was half as clever as you :)
|