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
830
how tp cpecify different columns width for different browsers (IE6 vs modern ones)
posted

Hi,

 

My webdatagrid takes more space if displayed in IE6, therfore showing a horizontal scroll.

However in IE7, it fits perfectly the page there is no scroll no nothing.

How do I set different columns width depending if I am in IE6, versus IE7

Please notice, the columns have all different width. So I am not allowed to set same width for all columns

Thanks a lot for looking into this :)

Parents
  • 49378
    posted

    Hi rtutus,

    Please refer to the following discussion:

    http://blogs.infragistics.com/forums/p/60476/306931.aspx

    The scenario described in the above thread is actually very close to your scenario with regards to column width and there is some code that suggests how to avoid such behaviors.

    There are differences in which controls are rendered in different versions of IE. Generally, you can check what the column element's offsetWidth's are and if their size is over some limit (in which case a scroller would be shown) you can manually reduce their width using javascript.

    Please let me know if this helps.

    Best Regards,

    Petar Ivanov
    Developer Support Engineer
    Infragistics, Inc.
    http://es.infragistics.com/support

Reply Children
No Data