[
https://issues.apache.org/jira/browse/PIVOT-538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881336#action_12881336
]
Kelvin Bell commented on PIVOT-538:
-----------------------------------
I'm working on an immunization/flu program. Here is the part of the program
that opens the Sheet with the table data, but the table is not editable.
public class ClinicDataForm implements Application {
private Display display = null;
private Frame frame = null;
private Sheet sheet = null;
private TableView tableNurseInformation = null;
private LinkButton buttonImmWellInfo = null;
@Override
public void startup(final Display display, Map<String, String> properties)
throws Exception {
this.display = display;
WTKXSerializer wtkxSerializer = new WTKXSerializer();
WTKXSerializer wtkxSerializer2 = new WTKXSerializer();
frame = (Frame)wtkxSerializer.readObject(ClinicDataForm.this,
"clinicData.wtkx");
sheet =
(Sheet)wtkxSerializer2.readObject(ImmunizationAndWellnessTable.class,
"immunizationAndWellnessTable.wtkx");
frame.open(display);
buttonImmWellInfo = (LinkButton)wtkxSerializer.get("buttonImmWellInfo");
buttonImmWellInfo.getButtonPressListeners().add(new
ButtonPressListener() {
@Override
public void buttonPressed(Button button) {
try {
sheet.open(display);
}
catch (Exception ex) {
Logger.getLogger(ImmunizationAndWellnessTable.class.getName()).log(Level.SEVERE,
null, ex);
}
}
});
....
> Table is uneditable when opened modally
> ---------------------------------------
>
> Key: PIVOT-538
> URL: https://issues.apache.org/jira/browse/PIVOT-538
> Project: Pivot
> Issue Type: Bug
> Components: wtk
> Reporter: Kelvin Bell
> Fix For: 1.5.1
>
>
> Tables that are in a modal Frame/Dialog/Sheet have rows which are not
> editable (TableViewRowEditor & setRowEditor become useless). If the Frame
> (exact same code) is opened non-modally, then the tables are editable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.