Blazor component lifecycle #3965
Unanswered
GevorDanielyan
asked this question in
Q&A
Replies: 2 comments
-
You should look into state management. https://jonhilton.net/blazor-state-management/ The easiest is to use cascading values for storing the state. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Dear @stsrki , thank you for your information. So this is my component, which I use in different pages. So how can I solve my issue? First I use it like non editable like this
And as editable like this.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone.
I have a general question related Blazor. For example, I have a component, which is a Blazorise Data Grid. I created bool parameter and passed it to Data Grid as reference for Editable. This is because on another page where I use this component, I need it to be editable in one place and not editable in another. How can I do it so that on one page where I change the data, on the other non-editable page, the data appears at once?
This is non editable grid in one page when I used data grid component.
And in another page this is editable
When I'm changing something , I need to immediately appears changes in first non editable grid. How can I do this?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions