cljfx

DerTev 2023-06-10T22:39:28.628529Z

Any idea, whats wrong with my code? The items are not shown as expected...

{:fx/type :table-view
                                          :columns [{:fx/type :table-column
                                                     :text "Hello"
                                                     :sortable false}
                                                    {:fx/type :table-column
                                                     :text "World"}]
                                          :items [["How" "are"]
                                                  ["ya" "?"]]}

DerTev 2023-06-11T10:50:12.174899Z

Ah, I see, thanks!

DerTev 2023-06-10T22:42:04.717749Z

I think I need to do something with the other :table-... 's but idk

Martin Půda 2023-06-11T05:07:07.079679Z

{:fx/type :table-view
 :columns [{:fx/type :table-column
            :cell-value-factory first
            :text "Hello"
            :sortable false}
           {:fx/type :table-column
            :cell-value-factory second
            :text "World"}]
 :items [["How" "are"]
         ["ya" "?"]]}

👍 1