Make Maui datagrid cell readonly

1 Answer 32 Views
DataGrid
Stephen
Top achievements
Rank 1
Iron
Iron
Stephen asked on 24 Jul 2023, 09:42 PM

My guess, by looking at the code, there is no way to do this. This is a HUGE design mistake on Telerik's behalf. If there is a way, please enlighten me, if not, please open a feature request to allow this behavior.

Thanks, Steve

Stephen
Top achievements
Rank 1
Iron
Iron
commented on 24 Jul 2023, 09:46 PM

Nevermind... CanUserEdit="False" Please excuse the unnecessary commentary above!!! :-)

1 Answer, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 25 Jul 2023, 06:25 AM

Hello Stephen,

Yes you can disable the editing on a DataGrid level or for a concrete column. In this way you can make the column/cell read-only or the complete DataGrid.

Regards,
Didi
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.

Stephen
Top achievements
Rank 1
Iron
Iron
commented on 25 Jul 2023, 01:12 PM

Hi Bibi,

Thank you for taking the time to respond to this incorrect post of mine. I hoped that you would see the additional comment I placed on the issue that said I figured it out...

In my WPF experience, I used the Infragistics controls and their apis are COMPLETELY different from yours. You style your controls differently. You handle events differently. You do everything differently. I am relying on my experience to infer how a control should work and your control set is simply making me learn how to do what I need to do with your stuff...

Anyway, I figured it out and should not have bothered you!

Thanks! Steve

Tags
DataGrid
Asked by
Stephen
Top achievements
Rank 1
Iron
Iron
Answers by
Didi
Telerik team
Share this question
or