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";
    onRefreshComplete = "javascript:doAMDResize();";
}

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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to