TableView reRender gone but not forgotten

I’m trying to get a tableView to update a “minutes ago” counter on screen for messages in a tableview list… (such as “Posted 4 minutes ago”).

However, the counter only updates when the row is moved off the screen and pulled back on (the widget calls my onRowRender at that point).

So I tried setting the reRender property on the rows that are visible… However, it seems the reRender property is gone from the widget… a printTable() of the tableView object shows it’s functions and properties, and alas, there is no reRender property in the current tableView… (No wonder setting the reRender flag did nothing).

So, the options I came up with were destroying and recreating the tableView, and using scrollToY (to scroll to the bottom/top, and scroll back real fast, forcing a reRender). After some coding/testing, both of these options leave a very visible “flash”, making the app look kinda lame… (also tried and insert and delete, but they were giving me fits/not working)

Are there other ways to force a refresh (that won’t flash onscreen/force reloading the entire list)? Anyone know if / when the reRender ability will come back (and can it be used outside the tableView event handler to cause a refresh)?

I’m trying to get a tableView to update a “minutes ago” counter on screen for messages in a tableview list… (such as “Posted 4 minutes ago”).

However, the counter only updates when the row is moved off the screen and pulled back on (the widget calls my onRowRender at that point).

So I tried setting the reRender property on the rows that are visible… However, it seems the reRender property is gone from the widget… a printTable() of the tableView object shows it’s functions and properties, and alas, there is no reRender property in the current tableView… (No wonder setting the reRender flag did nothing).

So, the options I came up with were destroying and recreating the tableView, and using scrollToY (to scroll to the bottom/top, and scroll back real fast, forcing a reRender). After some coding/testing, both of these options leave a very visible “flash”, making the app look kinda lame… (also tried and insert and delete, but they were giving me fits/not working)

Are there other ways to force a refresh (that won’t flash onscreen/force reloading the entire list)? Anyone know if / when the reRender ability will come back (and can it be used outside the tableView event handler to cause a refresh)?

The ability to re-render a row will be returning, I can assure you of that.

I’m trying to get a tableView to update a “minutes ago” counter on screen for messages in a tableview list… (such as “Posted 4 minutes ago”).

However, the counter only updates when the row is moved off the screen and pulled back on (the widget calls my onRowRender at that point).

So I tried setting the reRender property on the rows that are visible… However, it seems the reRender property is gone from the widget… a printTable() of the tableView object shows it’s functions and properties, and alas, there is no reRender property in the current tableView… (No wonder setting the reRender flag did nothing).

So, the options I came up with were destroying and recreating the tableView, and using scrollToY (to scroll to the bottom/top, and scroll back real fast, forcing a reRender). After some coding/testing, both of these options leave a very visible “flash”, making the app look kinda lame… (also tried and insert and delete, but they were giving me fits/not working)

Are there other ways to force a refresh (that won’t flash onscreen/force reloading the entire list)? Anyone know if / when the reRender ability will come back (and can it be used outside the tableView event handler to cause a refresh)?

The ability to re-render a row will be returning, I can assure you of that.

any time estimate for when it will be returning? would be nice to update information in a specific row without having to do a recreation of all.

I desperately need the reRender ability also - I can’t find any other way to change button graphics in a tableView to the ‘pressed’ state. Please return this ability as soon as possible.

Something new on this topic?

Hello @sunmils,

I checked into this with the engineers, and they’re aware of the issue and need. I wish I had a more specific ETA for you, but I can only work with what I’m provided, internally.

Sincerely,

Brent Sorrentino

Ok, thank you for clarification! Would be nice if you could keep this topic up to date.

any time estimate for when it will be returning? would be nice to update information in a specific row without having to do a recreation of all.

I desperately need the reRender ability also - I can’t find any other way to change button graphics in a tableView to the ‘pressed’ state. Please return this ability as soon as possible.

Something new on this topic?

Hello @sunmils,

I checked into this with the engineers, and they’re aware of the issue and need. I wish I had a more specific ETA for you, but I can only work with what I’m provided, internally.

Sincerely,

Brent Sorrentino

Ok, thank you for clarification! Would be nice if you could keep this topic up to date.

Not wanting to be annoying, but: Are there any news on this issue? 

As it is now, the new tableView is next to useless for us, so we’d like to know if we have to roll back to widget-v1 for our upcoming release, or if there’s hope of getting this feature back in the next, say, 20 days.

Regards & thank you,

Stephan

We also do need this feature back. Does not really make sense to use widget 1.0 for this.

Any news when this get fixed?

Thank you,

Ralph

+1 for next 20 days  :wink:

+1

I would like to see this include the ability to change the height of the row dynamically so we can “open” a row showing more details without having to rerender the entire table … 

Hi guys, First of all, thanks for your patience. I’ll be looking at this, i’ll update the thread as soon as i have a fix or a clear ETA. Thanks, Alex

Huh. I found a workaround, sort of, for this.

So my overall issue is I am changing a text string in a tableview row, and it is not updating onscreen. Setting reRender used to force things like this to update, but with widget 2.0, it does nothing (it seems).

In chatter on another thread, I realized I am updating an image in tableView rows on the fly in another case, and they are updating properly (without using reRender)

After reviewing the image code, I discovered that if you insert and remove elements in a tableViews row._view, the updates occur onscreen immediately (no reRender required).

Now when I render the row, I am saving a pointer to the text object that is inserted into that rows._view group, and when I want to update the string (“minutes ago” counter), I remove() and insert(newText)… And my counter updates onscreen instantly. No tableview reRender, scrollTo or anything needed. (You just have to keep a pointer to the object to be changed so you can remove it).

Not wanting to be annoying, but: Are there any news on this issue? 

As it is now, the new tableView is next to useless for us, so we’d like to know if we have to roll back to widget-v1 for our upcoming release, or if there’s hope of getting this feature back in the next, say, 20 days.

Regards & thank you,

Stephan