I have a very simple Row State Handler that makes sure that a given selected row can never be unselected. The issue is, that I want to turn off that functionality and continue with normal operations.
Here is the simple script that locks down row 15 to always be selected.
names default to here(1);
dt=open("$SAMPLE_DATA\big class.jmp");
x=15;
dt << select rows(x);
setrow = function({x},dt<<clear
select();dt<< select rows(x));
rs = dt << Make Row State Handler(setrow(x));
So now the question is, how do I remove the Row State Handler, short of closing and reopening the data table? I can change the rowstate handler to a different function, but I would prefer to just remove the Row State Handler.
Does anyone have an answer?
Jim