Hi All
I am trying to play with LiveBook as a research playground to analyze data and create first ugly prototypes of the internal or not so internal tool (isn’t it what such notebooks are good for?).
Concept
We are operating in the hiring space and idea is pretty much like:
- Select a job ad from currently open ones (or based on some other criteria)
- Select some applicant
- Fetch extra information that we happen to know about the applicant (e.g. history from the past jobs)
- Ask AI to analyze the results and provide automated opinion on this or that characteristic
Selecting in DataTable - how to do it
So as you see there are a couple of steps which are about presenting long list of records (with some details) and choosing something there. Number of records is like dozens to thousands so for a research prototype I don’t really care about any kind of caching.
I though that Kino.DataTable should be a good choice for it as it has built-in pagination and search (though search just highlights items instead of filtering or I don’t know how to hide unmatching stuff easily).
But… I failed to figure how to register any sort of “clicked” or “selected” events in datatable. There seem to be ways to do it for a Button, so I thought i could use datatable’s formatter
to inject button somewhere, but it also seems not possible.
How to select from a long list of records in LiveBook [easily]?
What would you in such a case? Or what do you use already?
I figured a way to use select
control, but it really is not made for looking at many record details and looks wrong when you want to make a conscious choice of many records.
Is my only option to create a clone of DataTable or is there a known hack or a different control to make a choice between many elements easy?