3.2.0

grid not displaying, setup questions

I am not sure what to include and I see text, but no grid in my page.

Where do I put the download to make this run?

I'm new to javascript


thanks
PleaseHelpNewbie
March 7,
It sounds like you did not include the CSS file in your page. Are you loading it at the top of the HTML file?
Jim Hunter
March 7,
i need a number for a cell back ground ok
March 8,
<link href="/activewidgets/runtime/styles/xp/grid.css" rel="stylesheet" type="text/css" ></link>
<script src="/activewidgets/runtime/lib/grid.js"></script>


<script>

var table = new Active.Text.Table;
table.setProperty("URL", "/activewidgets/examples/data/companies.txt");
table.request();

var obj = new Active.Controls.Grid;
obj.setProperty("column/count", 5);
obj.setModel("data", table);

document.write(obj);

</script>


What am I doing wrong?

Mike Yurick
June 21,
Can you post a link to a URL for me to look at?
If I can hit your test page I might be able to tell you what is going wrong, without that we are all just guessing.
Jim Hunter
June 22,

This topic is archived.

See also:


Back to support forum