Loading grid with user Inputs?
1) Can I hide the grid on page load? I do not want to populate the grid until until some events have occured.
2) why is the script in the body of the html?
why isn't this script in the head section?
I tried putting this script in a function and have this function trigger when a user clicks a button but, it did not work.
I received garbage unformatted data? why?
// create ActiveWidgets data model - XML-based table
var table = new Active.XML.Table;
// provide data URL
// start asyncronous data retrieval
// define column labels
var columns = ["Ticker", "Company Name", "Market Cap.", "$ Sales", "Employees"];
var obj = new Active.Controls.Grid;
// provide column labels
// provide external model as a grid data source
// write grid html to the page
Loading data, please wait...