Hi

Hmmm ... it seems that the JavaScriptException is gone after calling
setSize() on the PagingScrollTable,

PagingScrollTable<Serializable> scrollTable = new
PagingScrollTable<Serializable>(cachedTableModel, dataTable, headerTable);
// throw JavaScriptException if the following is omitted ...
scrollTable.setSize("95%", "50%");

but why?


On Fri, Nov 28, 2008 at 12:01 AM, hezjing <[EMAIL PROTECTED]> wrote:

> Hi
> I encounter the following exception in hosted mode while trying to create a
> PagingScrollTable,
>
> [ERROR] Uncaught exception escaped
> com.google.gwt.core.client.JavaScriptException: (Error): Invalid argument.
>  number: -2147024809
>  description: Invalid argument.
> at com.google.gwt.dom.client.Style$.setProperty$(Native Method)
> at com.google.gwt.user.client.DOM.setStyleAttribute(DOM.java:1201)
>  at
> com.google.gwt.widgetideas.table.client.ScrollTable.resizeTablesVerticallyNow(ScrollTable.java:1311)
> at
> com.google.gwt.widgetideas.table.client.ScrollTable$1.execute(ScrollTable.java:602)
>  at
> com.google.gwt.user.client.CommandExecutor.doExecuteCommands(CommandExecutor.java:311)
> at
> com.google.gwt.user.client.CommandExecutor$2.run(CommandExecutor.java:206)
>  at com.google.gwt.user.client.Timer.fireImpl(Timer.java:164)
> at com.google.gwt.user.client.Timer.fireAndCatch(Timer.java:150)
>  at com.google.gwt.user.client.Timer.fire(Timer.java:142)
>
>
> Do you have any idea of what could be the problem?
> I'm using gwt-incubator_1-5_Sept_04.zip.
>
>
> Thank you!
>
>
> --
>
> Hez
>



-- 

Hez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to