Any idea why following the guide on tableviews, th...
# tornadofx
p
Any idea why following the guide on tableviews, thw column() builder would make the ide unable to pick an overload?
d
what do oyu mean with overload? override?
p
"None of the following functions can be called with the arguments supplied"
Followed by a list of possible (non-matching) functions with the same name and different signatures (those are called overloads, right?)
🙂 1
So, readonlyColumn("someLabel", MyClass::someProperty) works, but changing it from readonlyColumn to column gives the error.
d
maybe you arent referencing a property? make a small gist and we can find out
and sorry your question was totally right, i just didnt saw that context at this moment 🙂
p
Welp, you hint saved me again, mate! My brain decided to not register that readonlyColumns can work with e.g. Int, but columns need (Simple)IntProperty. Thank yoy very much, you're so hwlpful!
👍 1
d
i know this mistake too well - i just started as well with javafx and i forgot in the beginning often that i need to reference a property in order to get things updated 🙂