:: Forum >>

How to use <sup> HTML tag in grid ?

I want to display data as sup script e.g i want to display EMC2 (2 will display as c to the power of 2, like a C square).

When i use <sup> tag, its only display EMC only.

Waiting a respose........
Monday, June 2, 2008
Did you include closing tag? This code works fine for me -


(or if you send data via XML did you encode <> chars?)
Alex (ActiveWidgets)
Tuesday, June 3, 2008

But problem is that how can i display a single column data. I am using JSP, so how can i use obj.setCellText(myData) method ?

I have more than 100 rows in the grid with 15 columns. For a single column, i got data from some other functions.

e.g I have a column Product Number & i fetch product number from a function1 & also fetch total number of quantity from other functions, say function2. I want to merge these two fields into a single field/column.
That is,

<font color=red> productNumber <sup>*(totalQty)</sup></font>

When i use this code, i got totalQty is 0. But when i use simple HTML page, its give some value.

Tuesday, June 3, 2008

This topic is archived.

Back to support forum

Forum search