File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSF
Bookmark "Flickering Effect on using <rich:extendedDataTable>" Watch "Flickering Effect on using <rich:extendedDataTable>" New topic

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.


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

Joined: Jun 25, 2001
Posts: 17410

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.

An IDE is no substitute for an Intelligent Developer.
It is sorta covered in the JavaRanch Style Guide.
subject: Flickering Effect on using <rich:extendedDataTable>
jQuery in Action, 3rd edition