JTable and JComboBox

I’ve been working around building a table with different column for each record of my found set. The goal is to build an EAV in servoy.

So far my search has lead me to using JTable.

Everything works well so far. Except for one thing. I’d like to change cells editor for either a comboBox (to add a value list to a cell) or a jbutton (to catch an action and launch a JS function.

Normally you’d use “setCellEditor” function on one of the column in the columnModel… But in servoy it seems that this function is not available… anyone has any ideas?

Thank you very much

regards

Philippe Beaulieu

Maybe you want to have a look at our Table-Bean. It is a JTable that is highly configurable and tightly integrated into Servoy.

Maybe it already does what you are trying to do?

P.S.: What is an EAV ? :oops: