Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

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

Please help.
Posts: 11445
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Don't play dumb with me! But you can try this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic