-
1. Re: reRender after ajax request completes.
ilya_shaikovsky Apr 9, 2009 9:30 AM (in response to peterdit)reRendering takes place after request completed and response from server returned. So we can't say about db calls "after" the reRendering happens even in theory.
show your code please. -
2. Re: reRender after ajax request completes.
peterdit Apr 9, 2009 9:42 AM (in response to peterdit)Thank you for your response. And I admit after some testing you are correct. It seems the table doesn't rerender (visually) when there is sorting enabled on any column on the datatable.
If I leave all columns unsorted then the table updates correctly. If I have any column sorted then it seems like the data in the back gets updated but nothing on the table changes visually. I say "the data in the back" because if I vote for an item and it becomes the top voted for item, the table won't refresh visually, therefor if I press the "+" next to that item again I am no longer voting for the same item.
I know this is correct because the votes to not get correctly counted when pressing the corresponding "+" or "-" when sorted. (The wrong item gets voted).
So I guess my new question is: Is there anyway to get the sorting to update visually after a rerender? -
3. Re: reRender after ajax request completes.
ilya_shaikovsky Apr 9, 2009 10:20 AM (in response to peterdit)sorry but please show you snippet and your RF version(it's highly recommended to use latest 3.3.0 GA or even 3.3.1 Beta)