|
Re: How to set table cell values programmatically? [message #1841818 is a reply to message #1841779] |
Mon, 31 May 2021 07:35 |
|
Hi,
I'm not sure I understand your question.
The values displayed in cells are computed from your EMF semantic model using the rules in your odesign file using the "label expression".
Unless I misunderstand your question, the normal way to change the content of a cell is to modify the underlying semantic EMF model and let Sirius refresh the table's cells accordingly.
If you try to change the text of a cell by modifying Sirius's own data model (i.e. the DCell objects), your modifications will be lost on the next refresh as Sirius will overwrite your change with the result of the label expression.
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.03105 seconds