1. #1
    Ext User
    Join Date
    Dec 2009
    Posts
    5
    Vote Rating
    0
    id9848949 is on a distinguished road

      0  

    Default Infinite loop with LiveGridView

    Infinite loop with LiveGridView


    Hi,

    i have a strange problem with new LiveGrid functionality in 2.1.0.

    First RPC query asks with "offset 0 limit 200" settings, then i see query loop with "offset -199 limit 200" settings (there is one record in database). Grid is never rendered, only visible action is RPC query loop. Grid is functional with classic PagingToolbar class.

    Code looks like:

    Code:
    BeanModelReader reader = new BeanModelReader();
    
    final PagingLoader<PagingLoadResult<ModelData>> loader = new BasePagingLoader<PagingLoadResult<ModelData>>(
            proxy, reader);
    
    ListStore<BeanModel> store = new ListStore<BeanModel>(loader);
    
    grid = new Grid<BeanModel>(store, cm);
    
    LiveGridViewDebug liveView = new LiveGridViewDebug();
    liveView.setRowHeight(32); 
    
    grid.setView(liveView);
    
    panel = new ContentPanel();
    panel.setHeading(heading);
    panel.setLayout(new FitLayout());
    panel.add(grid);
    panel.setSize(800, 500);
    
    add(panel);
    Does anyone encounter this behaviour? Any hints?

    Regards,
    Pavel Arnost

  2. #2
    Ext User
    Join Date
    Dec 2009
    Posts
    5
    Vote Rating
    0
    id9848949 is on a distinguished road

      0  

    Default resources folder

    resources folder


    Hi,

    I forgot to update "resources" folder in upgrade process from 2.0.1 to 2.1. Now it works.

    Pavel

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar