Set table cells to read-only when a checkbox is checked

Hi there.

I’m looking for a way to turn table cells to read only for user A when user B checks a box on that row.

I hope that’s clear enough but happy to answer any questions if not.

Can anyone help?

This is can be done by adding a condition to the Add, Edit, Delete Actions. Say the column you are using for this is called “Locked”. Go to the collection element that display this table and lick the
“Enable Advanced Actions” button Then add condition a condition that say the action should be allowed only the “Locked is not checked”

Screenshot 2024-05-03 153603


Screenshot 2024-05-03 153454

1 Like

What component are you using to show the data? Are you using a Data Grid/New Table?

I’m using a data grid to display the content

The selected cell is what User B uses to check as complete.

Does this work for users that are editing the data in-line?

They’re currently ticking the checkbox in the row so aren’t opening a record to edit.

I don’t think Data Grid supports the ability to configure the edit row action. Does this have to be Data Grid? If so, perhaps you can instead filter out the rows that cannot be edited anymore. If not you can use another collection such as table or list.

The Data Grid is still in development, and I’m not sure yet if the existing features will be kept or not. However, you can explore the “New Table” which has button options with its conditional settings.

1 Like

I don’t think Data Grid allows you to do something like that for now. You can allow/disable editing column-wise, not row-wise, and even that’s not tied to a configurable condition.

1 Like