Get Section using OnCellClick event

Hi,

I have a timelineView, now I would like to get the y_unit’s both section.key & the section.value during the OnCellClick event.
I could get the section’s key using the event object, but don’t know how to get the section.value. Any idea please ??

scheduler.attachEvent(“onCellClick”, function (x_ind, y_ind, x_val, y_val, ev){
var state = scheduler.getActionData(ev);
var key = state.section;
//TODO: how to get the section value ??
});

Thanks
Mahesh

Hello,

Please, check the demo:
docs.dhtmlx.com/scheduler/snippet/e14c6918