Einar Sørheim
unread,Nov 22, 2010, 9:21:14 AM11/22/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JavaBuilders
I have been using javabuilder for a couple of months and have one
specific question regarding the EventTableModel:
I want to have one of the columns editable, have tried the following:
JTable(name=tcw):
-
EventTableModel(name=resultModel2,source=coolwater, writable=[false
true false])
-
TableColumn(name=tcw1,source=time,headerValue=Time [sec])
-
TableColumn(name=tcw2,source=length,headerValue=Length [mm])
-
TableColumn(name=tcw3,source=value,headerValue=Water [m3/hour])
I get no errors but it does not take into account the "writable=[false
true false]", any ideas of how to achive this?
I have also tried to set the Celleditor like this:
JTable(name=tcw):
-
EventTableModel(name=resultModel2,source=coolwater, writable=[false
true false])
-
TableColumn(name=tcw1,source=time,headerValue=Time [sec])
-
TableColumn(name=tcw2,source=length,headerValue=Length [mm])
- JTextField(name=nm)
-
TableColumn(name=tcw3,source=value,headerValue=Water [m3/hour])
but no effect.
Regards
Einar