[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Scroll triggered event in FIXGRIDNode  XML
Forum Index -> Development
Author Message
rstoyanov



Joined: 15/04/2024 14:02:35
Messages: 4
Offline

In FIXGRIDNode component when I scroll through the elements there is an event being triggered, which reloads the UI data (all the methods exposed in the JSP file). We tried using the property setAvoidroundtrips(), but that only works when I click on the row and has no effect on the scrolling. Do you have any idea which property I need to set to avoid that UI reload?
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

a scrolling in a FIXGRID by default always picks the next chunk of data from the server-side! The grid is NEVER loaded as complete list of items to the client but is "paged" for performance reasons.

On server side all data that is referenced by default is picked - because it might have changed in the meantime!

For grids there is some accelerator to reduce the picking of the grid item properties: please take a look into the Developer's Guid: https://www.captaincasa.com/docu/eclnt_risc_developersguide/index.html?performanceoptimizationofgrids

Kind regards! Björn

PS: the attribute AVOIDROUNDTRIPS is for grid selections "only". A grid selection sometimes needs not to be immediately passed to the server side...

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team