kasemir / org.csstudio.display.builder

Update of org.csstudio.opibuilder.*
Eclipse Public License 1.0
2 stars 10 forks source link

Problems with Table widget. #449

Closed claudio-rosati closed 6 years ago

claudio-rosati commented 6 years ago

Hello Kay,

I don't understand why, using a Table Widget not attached to a PV, when the OPI is run a strange row is inserted containing VString[No PV, 1970/01/01 01:00:00.000].

A colleague needs an empty table with 3 columns not connected to a PV that will be populated pressing some buttons. But the "empty" Table widget appears with this first annoying row.

screenshot 2018-09-26 at 14 31 44

claudio-rosati commented 6 years ago

Moreover, trying to set the value to None instead of empties the table displays null.

screenshot 2018-09-26 at 14 38 06

and the following message:

WARNING [Thread 1] org.csstudio.javafx.StringTable (setData) - Table needs 3 columns [Column 1, Column 2, Column 3] but got row with just 1: [null]
kasemir commented 6 years ago

Try now.

claudio-rosati commented 6 years ago

It worked fine. Thank you for the quick fix.