-
-
Notifications
You must be signed in to change notification settings - Fork 532
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
DataGrid: More control over edit template #3700
Comments
Have you tried |
Frankly, since I use the EditMode.Form, I didn't considered that.. This might help, but could not solve all the problems I have (in my example you would render 1, 2a, 2b, 3a, 3b on small devices where I want 1, 2a, 3a, 2b, 3b). |
As expected, |
Not sure if we would introduce a new |
I am a bit conflicted also... maybe we'll have new edit modes in the future? We never know haha, kinda more In favor of the generic version, and eventually deprecate the previous. Which of course would not do anything in Inline mode. |
Maybe a more common approach could be to a In that case I could simply create a new Modal for that, if there would be an entry point - but I guess there are more use cases. |
I'd like to have a way to manipulate the rendering of the edit form of a DataGrid..
Think of something like a (scholar) dictionary where the words and other parts like genus or numerus should be side by side and are grouped together (if there's not enough space).
The rendering should be something like this:
[input field 1]
[input field 2a]
[input field 2b]
[input field 3a]
[input field 3b]
or on smaller devices:
[input field 1]
[input field 2a]
[input field 3a]
[input field 2b]
[input field 3b]
Other use cases involve colspan (as also shown above) or might want to group some fields together...
So, basically I need a way to customize _DataGridRowEdit.razor.
As a workaround, I use "Edit-Only"-Columns and empty columns so it behaves more or less like I want.
The text was updated successfully, but these errors were encountered: