Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting columns and query triggers two server requests #384

Open
gerpres opened this issue Jan 14, 2013 · 1 comment
Open

setting columns and query triggers two server requests #384

gerpres opened this issue Jan 14, 2013 · 1 comment

Comments

@gerpres
Copy link

gerpres commented Jan 14, 2013

I'm building a file-system grid, where folder contents are displayed using a OnDemandGrid.

each folder may have an own folder-layout.

On dbl-click I
-) set the desired column-layout
-) set the query

this triggers two server-requests, because the grid gets refreshed in _setColumns() and in _setQuery()

how can I prevent this?

@knokit
Copy link

knokit commented Mar 28, 2013

I'm in a similar situation.

1 - I'm creating the grid without defining the columns
2 - As soon as the data arrive from the server the columns are defined, according to the received data

The second step triggers one more server-request, which I would like to avoid.

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

No branches or pull requests

2 participants