Need Help with Row state handler or event handlerHi,
I am working on creating an event handler function that will switch to the histogram tab and scroll to the process distribution when a row in the process table within the summary tab is selected.
For example, if I click on “PNP4” in the table, the function should automatically switch to the histogram tab and scroll to the specific location displaying that process distribution. Any suggestions?


Here is the jsl code:
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Semiconductor Capability.jmp" );
col_names = dt << get column group( "Processes" );
tab = dt << Tabulate( Add Table( Column Table( Statistics( Mean, Std Dev ) ), Row Table( Analysis Columns( Eval( col_names ) ) ) ) );
dt2 = tab << Make Into Data Table;
tab << close window;
nw = New Window( "",
<<TYPE></TYPE>
Automation and ScriptingRe: Need Help with Row state handler or event handlerI know row state handlers in the context of data tables:

Interesting, the table box "understands" the command as well - the sense of : doesn't complain.
But it doesn't seem to react on it ...
Curious to see the solution ...
How are the Handlers implemented for the official reports?
via Mouse Box()?
Re: Need Help with Row state handler or event handlerTable Box uses << set row change function instead of row state handler. Do you have to the "list" view of distributions in a scrollbox (instead you could for example just create one distribution and hidden column switcher to change the column)?
Re: Need Help with Row state handler or event handlercool : )
Names Default To Here( 1 );
nw = New Window( "",
<<TYPE></TYPE>
Re: Need Help with Row state handler or event handlerHi Jarmo,
Yes, I want to have a list view in the tab scroll box, not the column switcher.
Re: Need Help with Row state handler or event handlerMost likely there are better options, but here is one
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
col_names = dt << get column group("Processes");
tab = dt << Tabulate(
Add Table(Column Table(Statistics(Mean, Std Dev)), Row Table(Analysis Columns(Eval(col_names))))
);
dt2 = tab << Make Into Data Table;
tab << close window;
nw = New Window("",
<<ONCLOSE></ONCLOSE>