Check out the examples on inputMatrix:
//Makes col1 non-editable cp.addParameterConfigEntry("readOnlyColumns",["col1"])