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

Resource tree not expanding after update

Asked by Brenda
9 years ago.

We are currently updating to the latest version (7.7) from 7.6. After implementing the updated .dll in the test environment, the resource trees will no longer expand. The + sign is showing, but nothing happens when it's clicked. I've compared my code to the demo version, and there doesn't seem to be anything I can point to as the cause of this. Could you please advise what change(s) I need to make to my code to make this work again?

Thanks.

Here is my code, please advise if you require anything more.

<DayPilot:DayPilotScheduler
ID="DayPilotScheduler1"
runat="server"
DataStartField="LeaveDate"
DataEndField="EndDate"
DataTextField="Status"
DataValueField="ReportUserID"
DataResourceField="ReportUserID"
DataTagFields="LeaveRequestNumber, LeaveRequestLine, LeaveType, LeaveDuration,
ReportFullName, Status, CurrentEntitlement, Taken, PriorYearCarryOver, Available"
HeaderFontSize="10pt"
HeaderHeight="18"
EventHeight="30"
EventFontSize="11px"
Width="100%"
RowHeaderWidth="180"
CellDuration="1440"
CellGroupBy="Month"
CellWidth="30"
ContextMenuID="ApprovalMenu"
ContextMenuResourceID="DayPilotMenuRes"
BusinessBeginsHour="5"
BusinessEndsHour="24"
UseEventBoxes="Always"
EnableViewState="false"
ScrollLabelsVisible="true"
BubbleID="DayPilotBubble1"
ShowToolTip="true"
HeightSpec="Max"
Height="500"
TreeEnabled="true"
TreeIndent="15"
BorderColor="#b2b2b2"
xResourceBubbleID="DayPilotBubble1"
Theme="scheduler_transparent"
CssOnly="true"
HourNameBackColor="#F0F0F0"
ResourceExpandHandling="CallBack"
OnResourceExpand="DayPilotScheduler1_OnResourceExpand"
ResourceHeaderClickHandling="JavaScript"
OnBeforeResHeaderRender="DayPilotScheduler1_BeforeResHeaderRender"
ResourceHeaderClickJavaScript="headerClick(resource)"
ContextMenuSelectionID="DayPilotMenuSelection"
SyncResourceTree="true"
DragOutAllowed="true"
MoveBy="Top"
TimeRangeDoubleClickHandling="JavaScript"
DurationBarVisible="true"
DynamicEventRendering="Disabled"
OnBeforeEventRender="DayPilotScheduler1_BeforeEventRender"
OnBeforeCellRender="DayPilotScheduler1_BeforeCellRender"
EventClickHandling="ContextMenu"
OnEventClick="DayPilotScheduler1_EventClick"
OnEventMenuClick="DayPilotScheduler1_EventMenuClick"
AutoRefreshEnabled="true"
EventRightClickHandling="JavaScript"
EventRightClickJavaScript=""
ClientObjectName="dps1">

Comment posted by Dan Letecky [DayPilot]
9 years ago.

There was no problem with the resource children recently. Anyway, there is a new version available (7.8) - can you give it a try?

If it still doesn't work:
1. Do you use dynamic node children loading (http://doc.daypilot.org/scheduler/dynamic-resource-tree-loading/)?
2. What happens if you set the initial parent node state to Expanded - do you see the children? Can you collapse and expand the nodes?

Comment posted by Brenda
9 years ago.

I will try 7.8 now. We don't use dynamic node children loading - we make the call, and populate all of the resources on the page load. If I set it to Expanded, it shows all of the children, but I can't collapse them. If it helps to clarify the issue at all, the mouse doesn't change to a hand when I hover over the + sign - it stays a regular arrow pointer. I will reply as soon as possible regarding using 7.8.

Thanks.

Comment posted by Brenda
9 years ago.

Tried 7.8 - No difference - Cannot collapse or expand nodes

Comment posted by Dan Letecky [DayPilot]
9 years ago.

It looks like something might be covering the row headers (hence the arrow cursor).

You can try to inspect it using Chrome Developer Tools. Click the magnifying glass icon and hover over the icon. It should focus the element right under the cursor. Normally, it should be the icon itself.

Possibly (but not likely) this could be caused by an incompatible theme (new dll, old theme) - try updating the theme to the latest version (from the same package as the dll).

Answer posted by Brenda
9 years ago.

It was definitely something with my style sheet. I will try to apply my styles one by one and see if I can get it to look the same without breaking the expand/collapse. Thank you for your help.

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