AMD resize problem in IE
AMD resize problem in IE
- Subject: AMD resize problem in IE
- From: Sreenivasulu A <email@hidden>
- Date: Thu, 15 Dec 2011 18:50:11 +0530
Hi List,
My component design is like this:
HTML table is wrapped with AUC. Some TD's are dependent on other TD's in this HTML table. So that I used AOF to observe the changes on inner html of the TD's.
AUC is wrapped with ERXOptionalForm.
ERXOptionalForm is wrapped with AMD.
If HTML table will grow dynamically, then AUC will be updated.
If HTML table will grow more than it's original size, then scroll bar is displaying in AMD(in IE only).
I wrote a _javascript_ function to grow AMD by calculating table width with the help of the following function:
function doAMDResize(){
var wid=document.getElementById('TicketTable').offsetWidth;
if(wid<751)
{
Modalbox.resizeTo(wid);
}
}
My AUC has a binding to this _javascript_ function:
AddTicketAUC: AjaxUpdateContainer {
id = "TicketAUC";
>
}
This is working in Mozilla and GoogleChrome. But in IE browser it not working properly.
I googed and find 'offsetWidth' on HTML table won't work until HTML table loads completely in IE browser.
Please suggest me any ideas to get rid of this?
Thanks in advance,
Sreenivasulu Arveti.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden