Hello
I have an editable grid control on a form within a model driven app and I can use JavaScript to set a column as read only using setDisabled(true) based on the value of another column in the view. However, I'm now trying to reference a column from a related entity by adding it to the view. When I do this I can see the column on the sub grid but I cannot seem to call the new column within JavaScript. Does anyone know if this is possible?
Thanks
Graeme
Hello
I am using the Power Apps grid control which allows a record's child records to be edited. The aim is set the quarter fields to read only depending if the quarter has been locked for editing. Ideally, I wanted to use the quarter lock field from the parent entity and add that to the grid to be picked up by the JavaScript but I could not get it to work. I had to resort to adding the same quarter lock field to the child entity and use a flow to update the record. Below is the code I have added in...
Thanks
Can you share the piece of the code that you are trying to execute?
I'm calling the function from the OnRecordSelect event on the grid.
in which event are you set the setDisable method?
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473