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

Dynamic Resources

Asked by Anonymous
10 years ago.

Hi,

I'm using the DaypilotScheduler light...I am trying to get the projects on the left and fill in who is working on them (emp names) as the scheduled items. The problem is, the projects are dynamic ie. it may be active today and inactive tomorrow so I don't want it in the list anymore. On the .aspx page I know we can have

<Resources>
<DayPilot:Resource Name='ProjectA' Value='ProjectA'/>
<DayPilot:Resource Name='ProjectB' Value='ProjectB'/>
<DayPilot:Resource Name='ProjectC' Value='ProjectC'/>
<DayPilot:Resource Name='ProjectD' Value='ProjectD'/>
<DayPilot:Resource Name='ProjectE' Value='ProjectE'/>

</Resources>

The problem is that I need to build this list dynamically out of a database. Anyone steer me in the right direction?

Cheers

Comment posted by Anonymous
10 years ago.
In the example on the demo, it would be the Rooms on the left that I'm trying to generate dynamically.
Comment posted by Dan Letecky
10 years ago.

Please check this thread and let me know if that's not what you were looking for:

forums.daypilot.org/Topic.aspx/593/scheduler_not_dynamically_loading_resources_into_scheduler_c

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