-
Is it possible to create a custom renderer? I would like to return the results of a data query as a kanban board, where each result item is a card in the appropriate column. I'm ok with using js and html APIs. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
To be precise, you want to use the existing Dataview Query Language and then just implement your own view on top of it (+ use existing Dataview utilities for rendering data and all that)? You can make custom views already using DataviewJS (by just directly making HTML elements in the view), though it doesn't support executing queries yet since part of the query syntax includes how the query will be rendered (a longstanding shortcoming I should probably fix!). |
Beta Was this translation helpful? Give feedback.
-
Yes, I wanted to create a custom view on top. It turns out it's pretty easy. Inside a Here is an example if someone needs it:
|
Beta Was this translation helpful? Give feedback.
Yes, I wanted to create a custom view on top. It turns out it's pretty easy. Inside a
dataviewjs
block, I've access tothis.container
from where I can create an element.Here is an example if someone needs it: