-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi. I just started to use Blink to create some simple UI, in which a user will need to update a small (up to a few hundreds) lines of a DataFrame. TableView seems to offer a very nice solution to this problem, so thank you! 😊
I would like to have some more control over the table definitions, such as disable sorting or removing some columns from the display.
Currently I overridden the “_showtable_sync” function and updadet the “coldefs” argument, but it seems like a hacky solution and will probably break with future updates.
As I’m new to Julia and OpenSource development and etiquette, I was wondering what is the best way to implement such a feature? The solution I thought of is to allow the user to call TableView with the options argument that contains a special key for a callback function that will be called (if exists) just before calling showfun. This callback will accept the options Dict, as it currently contains all the information (including the handlers) and will make the necessary changes. The change itself should be a few lines of code.
Any thoughts?