You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there should be a way to allow the list re-render a new view without fetching the data. Even a customized datagrid doesn't help sometimes. For example, I want one view with the pagination toolbar but the other view without it.
The text was updated successfully, but these errors were encountered:
shawnchen1980
changed the title
Change the view for a list dynamically
[Feature Request] Allow the list to change its inner view component dynamically
Mar 20, 2019
I'm developing an app to teach my son English words. Each entry in the list is for a single word. In the quiz mode, the list component should show a series of quiz for each word. It also has its navigation button so I want to hide the pagination tool bar. Now the following codes work but in an inefficient way because each time I switch the mode, the whole list is unmounted and remounted and the data for the same page is re-fetched.
My code is something like
But it doesn't work and I found this in the list logic
I think there should be a way to allow the list re-render a new view without fetching the data. Even a customized datagrid doesn't help sometimes. For example, I want one view with the pagination toolbar but the other view without it.
The text was updated successfully, but these errors were encountered: