Hi, after many tries and thinking I’m not clever enough and do something wrong, I realized, that in the manual is written, that inline edit allows editing of every field displayed in list page. Is there a way to prevent editing of every field? To lock some columns (CSS?)? It’s important for fast changes to do this in list view and inline edit or grid edit. But I need some columns to be displayed, which should not be editable.
Why didn’t you disable the Inline-Edit feature if you don’t want to implement it for all fields in the current table?
Hi mobhar, I want inline editing only for some fields. But this regulation only seems to work on edit page!?
You may simply set the field to be ReadOnly by using Page_Load server event of the List Page.
For example, from the demo project, you want to disable the “ContactName” field in Inline Edit mode, simply put the following code in “Page_Load” server event of “suppliers” table:
if ($this->isInlineEditRow()) { // Inline-Edit
$this->ContactName->ReadOnly = TRUE;
}
Cool, thank you! Will try this on Monday, when I’m back at work