Mixed read / write and read-only rows in Telerik Ajax RadGrid?

I populate telerik: RadGrid from a DataTable. Each of the DataRows in the DataTable has a readonly column with a value of true or false.

Currently, the grid has a GridEditCommand and GridButtonColumn column, which runs the Delete command.

I need the strings that display entries for which "readonly" is true to be read-only. I need the icon in the GridEditCommand column to be different, and to click it to create a view view form, instead of an edit form. And I need a link in the "Delete" GridButtonColumn for absence.

It seems like it would be quite simple to create a table that does not allow the user to edit or delete entries, but I need to be able to edit some rows and some not.

Where to begin?

+3
source share
1 answer

; , , , itemcommand. , rowdatabound . , , , Telerik - ; .

.

+2

Source: https://habr.com/ru/post/1782376/


All Articles