Replies: 2 comments
-
MudTable uses a rowtemplate and a bound model to display its content. I suggest that you use a MudSimpleTable. This component allows you to manually create rows using a foreach loop.
No that's not possible. But there are already nuget packets that do that. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Like JonBunator said, put a MudGrid or MudSimpleTable in a MudForm. Also look at MudForm docu, there is an example of using FluentValidation. |
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
-
What I would need is basically a table that behaves as a form. I was thinking about creating a MudBlazor table and adding form components in it. I currently did this using Bootstrap, and I would want to migrate the project to MudBlazor. I do not know if this is possible, I'm also using FluentValidation framework and I would want to continue to use it. There is also another particularity of this form-table, the rows are generated from a list and binded to the object model using a foreach, which could also be an issue. I was thinking about creating only a header from a table and then each row to be created manually in a form style in a foreach, but it seems that I cannot create just a header in a table without a body. Could you guys give me an advice if this is possible or an advice of how to do it before starting it ?
Another question, is there any possibility I could make a CSV Export from the Table or I need something custom ?
Beta Was this translation helpful? Give feedback.
All reactions