dv.taskList() not working in a loop #2226
-
Hi guys, dv.pages('"to-do/11th/classes"').forEach( (p) => {
dv.header(1,p.file.name);
dv.taskList(p.file.task);
} ); It is as simple as this. it doesn't work. It just shows the headers. Even after i run this code the normal dataview with dql can't sort tasks any more! dv.taskList(dv.pages('"to-do/111th/classes/note"').file.task); I posted this here because i thought it might be a problem with my code and not a bug. thank you for attention |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I don't understand why you're trying to use a loop? More information about your desired output would help. In the meantime, try this:
|
Beta Was this translation helpful? Give feedback.
I don't understand why you're trying to use a loop? More information about your desired output would help. In the meantime, try this: