-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Binding list #1
Comments
Yes, what you're suggesting is ideal, but is not really implemented yet. I do have some domain-specific ways to do this in my project code, but because I don't have anything generalized yet, I didn't put it in fx-clj. I think in some of my code I'm using Ideally we would have some sort of idiom in Clojure for something that is an "observable collection". I have drafted some ideas in freactive, but nothing I'm totally happy with so for that reason I haven't published it yet. Basically though, I think we should have some wrapper structure that reports added/removed/updated changes to data that is stored in an atom/cursor/ref etc. - this wrapper structure would maybe have Any thoughts? |
Sounds good! |
here I'm just using the regular (mutable) Java/FX (observable-)lists ...guess the update of this list in this case has to be done by (fx/run<! ...) |
You could also use run! is you want your go loop to continue. run<! will On Mon, Dec 22, 2014 at 5:33 PM, clojj notifications@github.com wrote:
|
Not sure where you get the impression that fx-clj is introducing other On Tuesday, December 23, 2014, clojj notifications@github.com wrote:
|
Sorry, the handler should take one arg: (fn [e]...) On Tuesday, December 23, 2014, Aaron Craelius aaroncraelius@gmail.com
|
yes, sorry.. didn't see that. |
Hi
I know this is not done but perhaps I can ask anyway.
Was experimenting with table-view but got stuck on how to bind a list to the items property, is it supported yet?
Would expect to be able to have table-data in an atom and call something like (observable-list table-data :my-data) on it. Or perhaps use freactive cursors.
I got this far:
The text was updated successfully, but these errors were encountered: