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

How to get parent resource id

Asked by Sathiya
10 years ago.

Hi,

I'm using daypilot scheduier. Dynamically i'm creating the resource tree .

My code is like below

Resource res = new Resource(StoreName, StoreID);
DayPilotScheduler1.Resources.Add(res);
res.ChildrenLoaded = true;

child = new Resource(Productname, ProductID.ToString(), true);
res.Children.Add(child);
res.ChildrenLoaded = true;
res.Expanded = true;

Loading the Stores, then loads the product for that store.

Now i'm creating the event for the product. I'm using javascript to create event TimeRangeSelectedJavaScript="createEvent(start, end, column)", this opens the popup. here i can get the product id from the column. How can i get the product id also from the parent. I'm new to daypilot scheduler.

Kindly help me on this.

Thanks

Comment posted by anwar
10 years ago.

hi did you manage to figure this out i am also stuck on the same problem

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