Visibility of fields - edit and insert
See original GitHub issueHi,
I’m having trouble with dynamically showing fields when an item is selected for edit.
I have the column initially hidden by default, using visible: false
and then within the onEditing
method I attempt to set the visible flag to true using the fieldOption
method so a value can be set.
However this seems to interfere with the edit functions as it then no longer converts the row to edit mode.
Is there something I am missing or is this sort of behaviour not supported?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Item's visibility in edit and insert form in UI for ASP.NET AJAX
I have a problem when i click on the edit or Insert command. I have everytime 5 fields (even if the GridTemplateColumn is...
Read more >How do I hide field on edit/new record page and still display ...
Use Lightning record page for this purpose. And click on the field that you want to hide in new/edit form. and add filter...
Read more >Hide/show fields in Insert and Edit | Blazor Forums - Syncfusion
Hi, I have a short question. How can I show/hide many fields when it is in INSERT mode or in EDIT mode (popup...
Read more >Hide Read-Only fields on New/Edit Page Layouts
When making a field read only on the Page Layout there should be an additional option to hide that field from the New/Edit...
Read more >DataGrid - How to show/hide certain fields in the Edit Form ...
Hi,. Take a look at the dxDataGrid - How to display a field in the edit form only in the insert mode ticket...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@richraid21 JsFiddle
Yes, as @richraid21 described, grid re-renders on field option changes. Hidden fields for instance are not rendered, so to show them it requires to re-render the grid.
You can define a
rowClick
, thus thateditItem
is called after showing new field:https://jsfiddle.net/owcxwahm/2/