:: Forum >>

JavaScript Array and Dynamic data

Hi guys,

greetings,

I have seen many unanswered questions regarding dynamic data with JS Array; I still dare to ask the question.

My simple requirement is to assign different data source to grid dynamically like:

grid.datasource = myData1;
grid.reload(); or grid.refresh();

grid.datasource = myData2;
grid.reload(); or grid.refresh();

and this must be done without compromizing any grid functions

There is a great example of doing that "Table DataModel for JS Array" from Sudhaker Raj. However, it looks like some of the grid functionality will be compromized. For example, I dont know how to have alternate grid rows (back color) and onmousemove hover found in the Alex example.

I have tried the CSS from Alex example, but of no help

I would appreciate if anyone could send the complete example for the above request.

thanks Alex for the excellent component and thanks everybody sharing their experience.
Quadri
Tuesday, May 24, 2005
Here's a link to the example from Sudhaker Raj mentioned in the post above: http://www.activewidgets.com/javascript.forum.2220.8/table-datamodel-for-js-array.html
Psilo [at] Cyberspacement [dot] com
Tuesday, May 24, 2005
Good
UmaShankar
Tuesday, June 14, 2005
I answered this question when you posted it in another thread a few weeks ago. You had mentioned that it solved your problem. What went wrong? Here is the original thread http://www.activewidgets.com/javascript.forum.5173.5/assigning-datasource-dynamically.html .
Jim Hunter
Tuesday, June 14, 2005

This topic is archived.


Back to support forum

Forum search