search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Scheduler Resource Name and ID

Asked by James
12 years ago.

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

Comment posted by Dan Letecky
12 years ago.

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).

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.