Hi, guys! I want to update table view for the cells that changed. As far as I know, model.setValue should do it automatically (it fires notifications, to which the Table is subscribed).
__updateRequests: function(data) { var m = this.getTableModel(); var length = m.getRowCount(); for (var i = 0; i < length; i++) { var count = data.count(m.getValue(this.self(arguments).ID_COLUMN, i)); if (m.getValue(this.self(arguments).REQUESTS_COLUMN, i) != count) { m.setValue(this.self(arguments).REQUESTS_COLUMN, i, count == null ? "loading..." : count); } } This is an instance member of a class that extends Table Unfortunately, it does not update the view, only the model. Am I missing something fundamental? Thank you, Gleb -- View this message in context: http://n2.nabble.com/Updating-table-view-when-the-model-changes-tp3936522p3936522.html Sent from the Q&A mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel