Skip to content

Commit

Permalink
joseph trades columnlayout
Browse files Browse the repository at this point in the history
  • Loading branch information
awb99 committed Sep 3, 2023
1 parent 2ed701e commit ddf458c
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion app/demo/src/demo/goldly/page/joseph.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
[demo.goldly.lib.loader :refer [clj->a]]
[demo.goldly.lib.ui :refer [link-href]]
[demo.goldly.view.aggrid :refer [table]]
[ui.aggrid :refer [aggrid]]
;[demo.goldly.view.tsymbol :refer [symbol-picker]]
))

Expand All @@ -19,7 +20,19 @@
:loading [:p "loading"]
:error [:p "error!"]
:data [:div.w-full.h-full
[table (:data @trades)]]
[aggrid {:data (:data @trades)
:columns [{:field :symbol}
{:field :direction}
{:field :entry-date}
{:field :exit-date}
{:field :entry-price}
{:field :exit-price}
{:field :qty}
{:field :pl}]
:box :fl
:pagination :false
:paginationAutoPageSize true}]
]
[:p "unknown: status:" (pr-str @trades)])])))


Expand Down

0 comments on commit ddf458c

Please sign in to comment.