Skip to main content
February 16, 2023
Question

Editable Grid Selection disabled

  • February 16, 2023
  • 3 replies
  • 0 views

Hi Team I need help Right now if you see in the image I want a selection disabled condition in editable grid like if the status of the particular grid is "Completed", then  the selectable checkbox should be disabled for the Particular row

3 replies

adityag9712
February 16, 2023

disableRowSelectionWhen:not(
tostring(fv!row['recordType!{ea370d67-4cbd-48b2-83e6-364a2fd3eb7b}RecordType.fields.{63b7ed0f-368d-4f56-ac7a-f8d764cbc8e2}status'])="Completed"),

marco.amador
February 16, 2023

The question was selection disabled if Completed. Yours disables the selected when different from Completed, which is the opposite.

Anyway, disabledRowSelectionWhen is available for gridField, which is read-only grid, not editable one.

For editable one (gridLayout) I believe the parameter you're looking for is called selectionDisabled.

February 17, 2023

Thank you ....Yeah it is having a separate parameter within the grid