How can i update a task with dataview or obsidian api?

I am making a custom dashboard for that fetched all tasks and appended them into my custom div. Now the problem is, if i check any task from the dashboard how can i update the orginal task/file?
Is there any obsidian or dataview api or any other way to do it?

Why not using dv.taskList(tasks, groupByFile) or any other function?
That’s because they always direct append the element into the screen. I can’t control where i put/add the element, that’s why i can’t fully style the element the way i want.

2 Likes