Is there really no other guide for coding the custom widgets beside that long webinar video with Yarek and the CTO where there’s a prolonged intro and rarely is anything explained when entering code in the Custom Widget Editor? Search engines aren’t much of help either, AI powered or not. Not every Grist user is at the same time a web developer.
I am looking for a guide to the boiler plate code in the CW Editor, what is available to be customized and adding custom JS functions that respond to entered values in a cell.
It might help to know what kind of functionality you’re looking to add with a custom widget. If you’re using AI and are designing a read-only widget, Vibe View is another option.
We don’t have any written guides to the widget builder at the moment, but that’s a good note. There are lots of examples in the Community widgets document that are built with the widget builder that you can take a look at for inspiration/reverse engineering.
Very short intro, top 10 user scenarios for customizing a widget followed by implemented solutions for each with explanations for the boiler plate code with which every solution starts followed by epxlanation of the code inserted to achieve the result. There’s boiler plate code in the editor- great but why is it there, what does it do, what goes in as a user tries to implement an idea; I’d create a custom widget to automate something or set a default starting behavior specific to a user or org. Not every user of Grist (maybe not even the majority of us) is also a web developer able to instantly understand what is that boiler plate code doing and how can it be customized.
I am not using AI. I don’t know what do you mean by “read-only” widget.