https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • l

    loud-salesclerk-7438

    05/30/2019, 3:23 PM
    yeah, the columns are dynamic, so they can change depending on a selection or a setting
  • b

    bright-gpu-74537

    05/30/2019, 3:25 PM
    yeah, all makes sense... thought you were populating the actual table data with item renderers rather than colums and then using data source... but you are so... ... ... ignore me
  • b

    bright-gpu-74537

    05/30/2019, 5:56 PM
    ok, all done then? Right? 😄
  • l

    loud-salesclerk-7438

    05/30/2019, 6:46 PM
    😄
  • b

    bright-gpu-74537

    05/30/2019, 6:56 PM
    😉
  • b

    bright-gpu-74537

    05/30/2019, 7:18 PM
    ^^ feels good 😃
  • l

    loud-salesclerk-7438

    05/30/2019, 10:10 PM
    hmm... I can't get it to work for me... I either have the wrong library versions or it needs different code to make it work or its not finished and some parts are missing (C++ crashes, html5 throws
    TypeError: Cannot read property 'set_left' of null
    )
  • b

    bright-gpu-74537

    05/30/2019, 10:13 PM
    yeah, your listview doesnt work on new comp method
  • b

    bright-gpu-74537

    05/30/2019, 10:13 PM
    and i didnt even try it on master
  • b

    bright-gpu-74537

    05/30/2019, 10:13 PM
    decided to just rewrite it
  • l

    loud-salesclerk-7438

    05/30/2019, 10:19 PM
    yeah I've seen TableView2, but I haven't worked out how to use it properly - I had to install Haxe 4 rc2, because I updated Haxe today and they dropped haxe.Utf8, so lime was not happy
  • b

    bright-gpu-74537

    05/30/2019, 10:19 PM
    ah right
  • b

    bright-gpu-74537

    05/30/2019, 10:20 PM
    well, its a little all over the place at the moment, but you'll need new component method (git) of haxeui-core and haxeui-* (backend)
  • b

    bright-gpu-74537

    05/30/2019, 10:20 PM
    and then this is my test:
  • b

    bright-gpu-74537

    05/30/2019, 10:21 PM
    Copy code
    xml
        <tableview2 width="500" height="300" contentWidth="100%">
            <header id="header" width="100%">
                <column text="Column A" width="75" id="colA" />
                <column text="Column B" width="75" id="colB" />
                <column text="Column C" width="100%" id="colC" />
                <column text="Column D" width="75" id="colD" />
            </header>
    
            <itemrenderer>
                <label id="colA" />
            </itemrenderer>
            
            <data>
                <item colA="Value 1A" colB="Value 1B" colC="Value 1C" colD="Value 1D" />
                <item colA="Value 2A" colB="Value 2B" colC="Value 2C" colD="Value 2D" />
                <item colA="Value 3A" colB="Value 3B" colC="Value 3C" colD="Value 3D" />
                <item colA="Value 4A" colB="Value 4B" colC="Value 4C" colD="Value 4D" />
                <item colA="Value 5A" colB="Value 5B" colC="Value 5C" colD="Value 5D" />
                <item colA="Value 6A" colB="Value 6B" colC="Value 6C" colD="Value 6D" />
                <item colA="Value 7A" colB="Value 7B" colC="Value 7C" colD="Value 7D" />
                <item colA="Value 8A" colB="Value 8B" colC="Value 8C" colD="Value 8D" />
                <item colA="Value 9A" colB="Value 9B" colC="Value 9C" colD="Value 9D" />
                ...
            </data>
        </tableview2>
  • b

    bright-gpu-74537

    05/30/2019, 10:22 PM
    i havent tested onopenfl yet either..
  • b

    bright-gpu-74537

    05/30/2019, 10:22 PM
    might make sense to hang back a little till i have something a little more "ready"... its certainly all over the place at the moment... hardcoding, etc
  • l

    loud-salesclerk-7438

    05/30/2019, 10:23 PM
    well your sample works, but headers and data cells are off by like 10 pixel
  • l

    loud-salesclerk-7438

    05/30/2019, 10:24 PM
    oh, and row one is beneath header row
  • b

    bright-gpu-74537

    05/30/2019, 10:24 PM
    yeah, ive made some fixes...
  • b

    bright-gpu-74537

    05/30/2019, 10:24 PM
    ill push.. see if that helps any
  • b

    bright-gpu-74537

    05/30/2019, 10:24 PM
    again, keep in mind im currently working on it
  • b

    bright-gpu-74537

    05/30/2019, 10:24 PM
    😃
  • b

    bright-gpu-74537

    05/30/2019, 10:25 PM
    ok, haxeui-core pushed
  • l

    loud-salesclerk-7438

    05/30/2019, 10:25 PM
    yeah looks better now
  • b

    bright-gpu-74537

    05/30/2019, 10:26 PM
    cool
  • b

    bright-gpu-74537

    05/30/2019, 10:26 PM
    still working on it... but making decent progress i think... hoping to hook it into the virtualisation stuff too...
  • b

    bright-gpu-74537

    05/30/2019, 10:27 PM
    did you say it works on yours?
  • b

    bright-gpu-74537

    05/30/2019, 10:27 PM
    looks crappy on openfl for me
  • l

    loud-salesclerk-7438

    05/30/2019, 10:28 PM
    well, row 11 is outside its scrollview...
1...484950...1687Latest