Editable List Column Read-Only in Freedom UI

Hi Community,

I am working in Creatio Freedom UI (8.x).

On the Case page, I have a detail grid: 

This grid is connected to a separate object (related to Case).

In the modal page of that object, I have set the Status field as Read-only, and it works correctly there.

However, when I enable inline editing in the editable list on the Case page, the Status column is still editable.

My requirement:

I want the Status column to be read-only in inline editing mode of the editable list.

What I tried:

  • Setting Read-only on the field in the modal page
  • Checking editability in object column settings

But inline editing still allows changes.

What is the recommended approach in Freedom UI?

Thank you!

Like 0

Like

3 comments

Hello, you can add a property "readonly": true for a specific column in your page source code. With this inline editing will still work for other columns.

{
	"id": "51005482-f2ec-6c7f-ebda-af341428b8d9",
	"code": "ProductsListDS_Quantity",
	"path": "Quantity",
	"caption": "#ResourceString(ProductsListDS_Quantity)#",
	"dataValueType": 33,
	"width": 114,
	"readonly": true
}

Hubert Pacia,

Hi Hubert,

Thank you for your response.

I have tried adding "readonly": true in the column configuration inside the DataGrid (as you suggested). However, it is still allowing inline editing for that column.

Here is what I have currently in my page source code:

 

{
    "id": "042e9406-096b-6133-2a3e-36330535a278",
    "code": "DataGrid_5pkutnDS_UsrSalesStatus",
    "caption": "#ResourceString(DataGrid_5pkutnDS_UsrSalesStatus)#",
    "dataValueType": 10,
    "readonly": true
}

 

The field is correctly read-only on the modal page, but when I enable inline editing in the editable list on the Case page, the column is still editable.

Is there anything additional that needs to be configured for inline editing mode specifically in Freedom UI (8.x)?

Thank you for your guidance.

Please try reseting to default list settings from UI if changes are not displayed immediately.

Show all comments