-
Notifications
You must be signed in to change notification settings - Fork 107
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
Content not refreshed when creating new views #42
Comments
I also have a data source being updated and the grid is not being refreshed
Replacing QGrid with List works, but not the desired layout. |
I am also facing exactly the same issue!! |
Did you figure out a way out for this issue? |
Ended up writing my own version from scratch.
… On Aug 16, 2020, at 4:06 AM, amrit42087 ***@***.***> wrote:
QGrid
Did you figure out a way out for this issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thanks for replying. Even I had to create my own solution. But mine is not generic. I have to create a grid for every type of data. Is it possible for you to share the approach you followed? |
Very similar to the QGrid source code just without all the configuration options. I divide my list into rows and add them into a vstack of hstacks inside a parent scroll view.
… On Aug 16, 2020, at 9:22 AM, amrit42087 ***@***.***> wrote:
Ended up writing my own version from scratch.
…
On Aug 16, 2020, at 4:06 AM, amrit42087 @.***> wrote: QGrid Did you figure out a way out for this issue? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Thanks for replying. Even I had to create my own solution. But mine is not generic. I have to create a grid for every type of data. Is it possible for you to share the approach you followed?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I have the
QGrid
setup to render a list of objects that are converted to views inside theQGrid
’s block.When my API fetches updated data the view is rebuilt.
I confirmed that the
QGrid
is called again, yet, it keeps rendering the initial list of views and not the newly created views.If I switch to
List
it works properly. Only withQGrid
it doesn’t refresh.Here is the code in question:
Any ideas as to what I might be doing wrong?
The text was updated successfully, but these errors were encountered: