:: Forum >>

HTML in Grid Cell

Hi,

With version 1 I was able to have a grid which read data from a javascript array. Each array element contained HTML code to produce a table. So far, I havent been able to make this work the same way with version 2. Does anyone know how I can make this happen?

Let me know if you want me to post an example of how I had it working using version 1.

Thanks
Aaron Todd
Monday, October 29, 2007
Hi,

I got the table to display with the following code in the cell text:

<table border=1 style='position:absolute;top:0px;'><tr><td>a</td><td>b</td></tr></table>

The table might have been positioned by default in such a way that its not visible.
Not sure if this is the best way to show it, though.

Regards,
Ankur
Ankur Motreja
Tuesday, October 30, 2007
Ankur,

Thanks for the code. It worked great!

Aaron Todd
Tuesday, October 30, 2007
You can also try adding CSS -

.aw-item-text TABLE {
display: inline;
}

otherwise the table is a block element and wraps to the next line (below visible area).
Alex (ActiveWidgets)
Tuesday, October 30, 2007

This topic is archived.


Back to support forum

Forum search