aspose file tools*
The moose likes GWT and the fly likes Not able to set BigDecimal value in a grid column using HTMLTable setText function in IE8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Not able to set BigDecimal value in a grid column using HTMLTable setText function in IE8" Watch "Not able to set BigDecimal value in a grid column using HTMLTable setText function in IE8" New topic
Author

Not able to set BigDecimal value in a grid column using HTMLTable setText function in IE8

smritis sharma
Greenhorn

Joined: Dec 26, 2010
Posts: 2
I am receiving following js error when I am trying to set a Bigdecimal
value for a grid column using HTMLTable setText function.

I am using BigDecimal constructor to initialize the BigDecimal value.
m_table.setText(row, col, text); //m_table here is of type HTMLTable
setText for HTMLTable is erroring for simple values for the "text" parameter e.g.- "60.00", "23.57"

This is happening only in IE8 . Works fine in Firefox.

Script Error:
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
3.0.30729; Media Center PC 6.0)
Timestamp: Thu, 30 Dec 2010 18:51:16 UTC

Message: Exception thrown and not caught
Line: 1
Char: 21338
Code: 0
URI: http://dev3.compiere.org/apps/js/bigdecimal.js

This issue happens only when I run the application in web mode.

Please help.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9994
    
    7

With the information you have provided, it is a bit difficult to figure out what is going wrong.
Post your sscce code which demonstrates this problem.
Please do take out time to click the link to find out what sscce really means


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Not able to set BigDecimal value in a grid column using HTMLTable setText function in IE8
 
Similar Threads
Test director prob
JSTL inside a JavaScript function, giving me an error on the page
Passing values from child popup window to parent window
Identical request in browser and Java with different responses, why does this happen?
Using ajax in myfaces tomahawk.