Hej!
I wanted to overwrite the default Item-Editor and in case to do that I had to figure out a way to get the id of the task that should be edited.
I read on the forums that you can use
private void OnKanbanChange(Event ev)
{
KanbanChangeEventDetail detail = ev[“Detail”];
var oldValue = detail.OldValue;
var value = detail.Value;
KanbanData record = new KanbanData();
record.text = value.text;
record.status = value.status;
record.priority = value.priority;
string task = detail.Task.ToString();
string valueToString = detail.Value.ToString();
}
This works when I move a task.
If I use the same principle for OnOpening with this function
void KanbanOpen(Event ev)
{
KanbanOpeningEventDetail e = ev[“Detail”];
}
e has the following values:
comment: null
Purpose: ‘edit’
Task: {\n”id”:””\}
Any hint what I am doing wrong?
Best regards
Lukas