Hi,
I facing this problem as i want to get the resource name when createing a new event in javascript. currently
i only have this 3 property to access (start, end, column) which column return me the resource ID,
How can i get the resource name or innerHTML , been trying but cant find. Please help. Thanks
James
-
12/17/2009 5:30:30 AM
The collection of resources is available as dps.resources (hierarchically) and as dps.rows (flat structure, in the order as displayed).
You can go through dps.rows array and check dps.rows[i].Value (which is the resource ID). The inner HTML is available as dps.rows[i].InnerHTML. But please remember that this is not documented and it might change in the future (although it's not likely).
Copyright © 2007-2010 Annpoint, s.r.o.