I use an RTable widget with a ivyScript List as model. I want that the table updates it self when I change an element in my list. E.g. I have a list with articles and I change an article, add a new one or delete one, then I want that the table is updated automatically. How can I do that?

asked 04.01.2010 at 06:08

Alain%20Helfenstein's gravatar image

Alain Helfen...
(suspended)
accept rate: 0%


There are two things that must happen so that the RTable is repainted. First the model must tell the widget that it was updated. You do not have to take care about this part. Second, the model must know that it was changed. If you add or remove elements, this is no problem and works out of the box. But if you change an already existing element, then you need to inform the model about this. Luckily this is very simple:

in.myList.elementChangedAt(...)

link

answered 27.11.2013 at 15:37

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
1.4k102118122
accept rate: 77%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×40
×12
×7

Asked: 04.01.2010 at 06:08

Seen: 2,162 times

Last updated: 04.01.2010 at 06:08