Hi Peter,

you point me to a unsolved problem on the table widget. The hole "data as map 
array" stuff is just putted on the simple, index based model and is not fully 
integrated into all features. So unfortunately editing of cells just updates 
the index based mode, but not the map array you gave him.

So I create a little workaround for you: http://tinyurl.com/lmwv6o2

Hope it helps...


Gruß
Mustafa Sak

Applications & Integration

1&1 Internet AG
Ernst-Frey-Straße 10
DE-76135 Karlsruhe

-----Ursprüngliche Nachricht-----
Von: Peter Schneider [mailto:p.schnei...@tis-gmbh.de] 
Gesendet: Dienstag, 12. August 2014 13:16
An: qooxdoo Development
Betreff: [qooxdoo-devel] Table cellediting with DataMap

Hi there,

I have a question about the editing of data in a table when I use 'DataMap's 
for the underlying data storage.

I have a table that gets it data from DataMap (setDataAsMapArray).
I would like to see any changes done in the editable fields to be reflected in 
the 'model' (DataMap) and therefore also in the 'read-only' columns / cells.

See this example:
  http://tinyurl.com/mqvt3ed

The columns one and two are editable. After any change of data in those 
columns, columns three and four should reflect the changes, too.

But only the TableModel's Array field (index 0 resp. 1 in this example) got the 
new value.


What would be the best way to update the underlying 'DataMap' so that all 
columns display the new assigned value?

The TableModel's "changeData"-Event seems to be the choice, but updating the 
map inside still does not update the other columns (cells)...

Thanks in advance for any hints,
  Peter


-- 

** Unsere Veranstaltungen: 

Post-Expo in Stockholm, Halle A - Stand A10.05, 23.-25.09.2014 TIS-Hausmesse in 
Bocholt, 16.10.2014 3. Innovationsforum Telematik, Idstein 28.10.2014 
BWVL-Tagung in K ln, 12.-13.11.2014


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to