wood burning stoves 2.0*
The moose likes JSF and the fly likes Flickering Effect on using <rich:extendedDataTable> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Flickering Effect on using <rich:extendedDataTable>" Watch "Flickering Effect on using <rich:extendedDataTable>" New topic
Author

Flickering Effect on using <rich:extendedDataTable>

amarshi mohanty
Ranch Hand

Joined: Jul 01, 2008
Posts: 110
Hi All,
I am using <rich:extendedDataTable> for a scrollable table.but every time i add a new record, there is a flickering effect.
The entire table is refreshed and the new record is displayed.Is there any way the table will render only the new record and display.
Please find the below code :


I tried with scrollabledataTable also , but that has also same performance issue .Please help me in any other component can be used.


Thanks,
Amarshi


SCJP (97%), SCWCD (95%))
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019
    
  20

In JavaScript, the popular method for avoiding flicker is to do the rendering outside of the displayed boundaries of the object and then bring (scroll) them into view.

I don't know if RichFaces is that sophisticated yet, though. It may just re-render the whole table every time.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
 
subject: Flickering Effect on using <rich:extendedDataTable>