The event is never fired because you are not calling update() on userList. Try
this instead:
public void buttonPressed(Button button) {
User user = Constants.users.get(0);
user.setEmail("[email protected]");
List<User> userList = (List<User>)userTableView.getTableData();
userList.update(0, user);
}
You don't need to call repaint() yourself - the TableView will do that
automatically when the item is updated.
On Apr 4, 2011, at 8:53 AM, Duto wrote:
> http://apache-pivot-users.399431.n3.nabble.com/file/n2774946/dataDriven.zip
> dataDriven.zip
>
> But I think it's normal that the event is not fire, I modify directly the
> bean.
>
> --
> View this message in context:
> http://apache-pivot-users.399431.n3.nabble.com/event-when-the-data-update-by-Data-driven-on-ListView-or-TableView-tp2762353p2774946.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.