Project

General

Profile

Feature #2583

WTableView is not refreshed after clear() if create in the constructor and not init - see example (not sure if it is really a bug)

Added by Michael Vilsker almost 9 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
01/21/2014
Due date:
% Done:

0%

Estimated time:

Description

public class AppTableWidget extends FormView{

private WTableView t = new WTableView();

private WPushButton b = new WPushButton();

private WPushButton c = new WPushButton();

public AppTableWidget(){

super(tr("test"), null);

init();

}

private void init(){

clear();

bindWidget("t", t); // t will not work b will work.

bindWidget("c", c);

c.clicked().addListener(this, new Signal.Listener() {

@Override

public void trigger() {

init();

}

});

}



${t}${c}

Also available in: Atom PDF