Cannot implicitly convert type 'string' to 'DayPilot.Web.Mvc.Events.Gantt.RowClickHandlingType'
10 years ago.
I have a Gantt populated with data and I want to allow the user to click on a row and load another view to perform actions pertaining to the event.
There is little to no real documentation--or at least no examples--on how to use RowClickHandling for a Gantt, and it doesn't appear to work the same way it is suggested to for the scheduler (https://doc.daypilot.org/scheduler/row-selecting/).
When I use RowClickHandling = "Select", I get the error above. On checking the definition for the RowClickHandlingType, I see it has:
//
// Summary:
// Enabled. Only the client-side event handlers will be fired.
Enabled = 0,
//
// Summary:
// The user action will call an AJAX CallBack event.
CallBack = 1,
//
// Summary:
// This functionality is disabled at all.
Disabled = 2
Enabled doesn't work either, in fact nothing appears to work. It also seems backwards to say Enabled is zero.
So is this supposed to work? And is it what I'm looking for?
DayPilot