Replies: 1 comment 4 replies
-
Hello !
If you need some more concrete advice, I'll be happy to answer here. If you are ready to contribute a new "tabulator" component to the official sqlpage distribution, that would be welcome too ! |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just went through an exercise of implementing Tabulator in Sqlpage and my longest task was trying to figure out how to manage the JSON configuration. I first, tried to find a way to populate a component parameter of json type and pass it to the template to create a json data node to be read by JavaScript. I kept running into escaping issues which is likely for safety reasons. I thought about putting it all in JS, but that somewhat defeats the purpose. I ended up changing the json endpoint to return data and UI information and separated it in JavaScript. Not sure I like this idea either but at least the thought processes are in one spot.
How have others tackled large json configurations for libraries in a way that continues minimalistic easy development?
Thanks for reading.
Beta Was this translation helpful? Give feedback.
All reactions