PDA

View Full Version : live grid with RPC proxy



Efrat Arvats
7 Dec 2010, 5:27 AM
Hello,

I’m using live grid with RPC proxy for data loading.
When I add items dynamically to the grid store I cannot see them in UI unless I refresh the LiveGridView.
The problem is that refresh the LiveGridView reloads data from server.
How can I refresh the view and see the new added items without reload data from server?

Thanks,
Efrat Arvats

sven
7 Dec 2010, 5:32 AM
How can I refresh the view and see the new added items without reload data from server?
There isn othing for this implemented. Its a live streaming view from the serverside. Clientmodifications are not allowed. You will need to add the model on your server and than refresh the livegridview.

Efrat Arvats
7 Dec 2010, 10:50 PM
Thanks for the quick respons.
Why the live grid does not allow client side manipulations?
Which grids with lazy loading allow it?

Thanks,
Efrat

aminef
9 Dec 2010, 8:12 AM
Hi Efrat Arvats,
I guess your grid is contained in a ContentPanel (or any other container), I guess you need to setLayoutOnChange to true for the container (it worked for me)

hope this helped