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 :)
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 IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support
Please feel free to contact me if you require assistance regarding this matter.