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 Murach's Java Servlets and JSP this week in the Servlets 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: 15950
    
  19

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Flickering Effect on using <rich:extendedDataTable>
 
Similar Threads
rich:dataTable sorting issue (AJAX) + rich:datascroller does not go passed page 2
Rich:Datatable rerendering problem
h:dataTable and rich:toolTip
jsf + richfaces modal panel problem
SimpleSelection issue in rich:extendedDataTable