Is there a ReadOnly toggle for Grid?

1 Answer 617 Views
Grid
Sergio
Top achievements
Rank 1
Sergio asked on 13 Aug 2021, 01:32 PM

I know each column has an "Editable" property, but I was hoping there was something that could put the whole grid in read-only mode.

Am I missing something, or is that simply not feasible?

Thanks,

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 13 Aug 2021, 05:02 PM

Hello Sergio,

In a future version we will probably add a GridEditMode.None feature to the enum that currently holds the three available edit mode. SInce that might be a breaking change, it will have to wait for a major version release. You can Follow that here: https://feedback.telerik.com/blazor/1529190-editmode-missing-none-option.

In the meantime, you can set EditMode to Inline and avoid adding any command buttons. Then you can also always cancel the OnEdit event.

Regards,
Marin Bratanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Eric
Top achievements
Rank 1
Iron
Iron
Iron
commented on 27 Sep 2022, 12:34 PM

Hi

is this added?


Eric

Hristian Stefanov
Telerik team
commented on 30 Sep 2022, 07:56 AM

Hi Eric,

I confirm that the feature is available built-in.

I have prepared an example for you to show a possible usage: REPL link.

Paul
Top achievements
Rank 1
Iron
commented on 30 Sep 2022, 07:59 AM

thanks!
Tags
Grid
Asked by
Sergio
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or