This is a migrated thread and some comments may be shown as answers.

Hide column for display but show when editing

2 Answers 854 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Davin
Top achievements
Rank 1
Davin asked on 10 Nov 2020, 09:58 AM

Hi there,

We were wondering if it is currently possible to hide a column (Visible = false) but still show it when the user edits the row.
We would not like to show all the columns in the grid but still allow the user to edit some of them.
Currently, when GridColumn.Visible is set to false, the field will not show up in the edit dialog.

Kind regards,
Davin

2 Answers, 1 is accepted

Sort by
0
Svetoslav Dimitrov
Telerik team
answered on 11 Nov 2020, 03:00 PM

Hello Davin,

There is an open Feature Request regarding this behavior. You could see it from this link. I have given your Vote for it and you can Follow it to receive email notifications on status updates. 

That being said, in the public thread, there is an attached file with a solution for the time being.

Regards,
Svetoslav Dimitrov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Kevin
Top achievements
Rank 1
Veteran
answered on 12 Nov 2020, 01:00 AM
I just work out by setting the GridColumn Width="0px" seems to do that.
Tags
Grid
Asked by
Davin
Top achievements
Rank 1
Answers by
Svetoslav Dimitrov
Telerik team
Kevin
Top achievements
Rank 1
Veteran
Share this question
or