You need to use BeforeCellRender event handler and identify the cell using e.Start (cell start date/time) and e.ResourceId (the resource id).
You can find the Resource object using ResourceCollection.FindById() method if needed:
protected void DayPilotScheduler1_BeforeCellRender(object sender, DayPilot.Web.Ui.Events.BeforeCellRenderEventArgs e)
{
Resource r = DayPilotScheduler1.Resources.FindById(e.ResourceId);
}
In order to prevent performance problems (BeforeCellRender is called for every cell), you'll need to precalculate the values outside of BeforeCellRender and save them in a separate property, e.g. a Map with a key built from a combination of cell start date and resource id (id of the parent).
Map values = new Map();
// ...
values[start.ToString() + resourceId] = "" + calculatedValue;
In BeforeCellRender, you'll read the values from that Map and set e.Html accordingly.
protected void DayPilotScheduler1_BeforeCellRender(object sender, DayPilot.Web.Ui.Events.BeforeCellRenderEventArgs e)
{
e.Html = values[e.Start.ToString() + e.ResourceId];
}