seesaw icon indicating copy to clipboard operation
seesaw copied to clipboard

How to bind a widget within the table cell ?

Open reevik opened this issue 11 years ago • 3 comments

How to bind a widget within the table cell ? Is there a way to define TableModel using widget instances ?

reevik avatar Dec 24 '13 17:12 reevik

The table support in Seesaw is pretty limited, so you're pretty much stuck using raw Swing if you want to do this stuff.

daveray avatar Dec 26 '13 16:12 daveray

Is there an interest in adding table features overall? I'm currently hacking around seesaw when working with tables at the moment, but if there's interest I can clean up the dirty hacks I'm doing now and submit pull requests.

I just spent my day using update-proxy to twiddle table-model to support editable cells, as well as listeners for cell changes. It'd be worth my time to clean it up as part of the seesaw code rather then with a collection of update-proxy's that I maintain in my code. (It should be noted that I might have to move off into TreeTable's or SwingX TreeTable's but I will be leveraging the existing method/structure here as much as possible)

WickedShell avatar Jun 16 '15 05:06 WickedShell

@WickedShell I'd be happy to take improvements to the table support. JTable's a monster (and everyone wants tables to behave differently) which is why there's not much there at the moment.

daveray avatar Jun 19 '15 05:06 daveray