davidanthoff / Electron.jl

Julia wrapper for Electron
Other
86 stars 19 forks source link

TableView support (or similar)? #76

Closed IanButterworth closed 4 years ago

IanButterworth commented 4 years ago

Is it possible to show a TableView via Electron? i.e. instead of via Blink. I'm trying to avoid BinDeps builds

Or is there a similar alternative? I want to display a table that updates async, with scrolling as a minimum. Sorting & filtering would be nice

davidanthoff commented 4 years ago

https://github.com/queryverse/ElectronDisplay.jl should be your friend, it has a table/grid viewer and is based on this package here.

It does not have the lazy viewing stuff that TableView has, though. Would be good to add that at some point.

IanButterworth commented 4 years ago

Great! I got a DataFrame to view, but couldn't figure out how to get the window to update when the DataFrame changes. Is that possible/simple? (Happy to open an issue on that repo if better)

davidanthoff commented 4 years ago

Ah, no, there is no live update feature: it takes a snapshop of the DataFrame and then shows that, with no connection left. I don't think the machinery for the kind of scenario you explain is there right now, for example there is no way that the DataFrame could "tell" the view that it was updated, AFAIK.