Download the "Disable Graphical Inputs" question from the Question Library.
Question Library: https://www.sawtoothsoftware.com/support/question-library
Import this question into your survey and place it on the same page as your grid question.
In the footer of your grid question, insert the following script ...
Change "QA_r1_7" to your particular question reference. This example I provided refers to QA row 1 item / option 7.