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
105
How to make Column Headers match Column widths when setting the width of each column
posted

I'm working width WedDataGrid 10.2 in Visual Studio 2008/Framework 3.5. When I set the width of each grid column in the designer, the column header for each column is rendered 1px narrower than the rest of the column. I've tried adding an additional pixel of padding but this did not work. After looking through the page source I found that for a 50px column, the width on the column header is set to 49px. Any help or workarounds would be appreciated.

Thanks!