Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Grid gets into a loop if no items supplied from server. #4

Closed
pekam opened this issue Nov 21, 2017 · 1 comment
Closed

Grid gets into a loop if no items supplied from server. #4

pekam opened this issue Nov 21, 2017 · 1 comment
Assignees
Milestone

Comments

@pekam
Copy link
Contributor

pekam commented Nov 21, 2017

@caalador commented on Fri Nov 17 2017

Client keeps sending:

Sending xhr message to server: {"csrfToken":"..","rpc":[{"type":"publishedEventHandler","node":26,"templateEventMethodName":"confirmUpdate","templateEventMethodArgs":[499]}],"syncId":499,"clientId":499}

and server keeps responding:

Received xhr message: for(;;);[{"syncId":500,"clientId":500,"execute":[[[0,26],0,"$0.$connector.updateSize($1)"],[[0,26],0,0,"$0.$connector.clear($1,$2)"],[[0,26],0,[1,[]],"$0.$connector.set($1,$2)"],[[0,26],500,"$0.$connector.confirm($1)"]],"timings":[722,0]}]

The problem can be tested simply with the basic usage sample by removing grid.setItems(...)

Grid<Object> grid = new Grid<>();
add(grid);
@kevinparent
Copy link

kevinparent commented Dec 8, 2017

Is there any known workaround for this issue? our grid is binded to a Callback Data provider and even trying to setItems(new X()) doesnt seem to work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants