How to disable angular 2 kendo-grid?
Asked Answered
L

1

7

I'm looking for a way to disable an angular kendo-grid.

The user should not be able to add/edit/delete rows within the grid.

So, how to mark my kendo-gird as readonly, or disabled ?

I didn't find anything relevant in the official documentation.

Lur answered 27/7, 2017 at 7:25 Comment(2)
This may be relevant, I haven't used KendoUI with Angular specifically though. telerik.com/forums/kendo-ui-grid---angularjsQuintile
@JayGould, Thanks for your comment Jay, but if you pay attention this is not for AngularJsLur
S
0

In order to use binding you could bind to "att.disabled". Since it doesn't accept boolean values if you don't want it disabled you should return "null".

See the example bellow: <kendo-grid [attr.disabled]="isDisabled == true ? true : null">

Sinister answered 31/3, 2023 at 14:37 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.