Remove the "Where" from Window and Change grouping column namesI am looking to remove the "Where..." from my window, but it does not work as I thought it should. I tried the same method that does work for graphs (as noted by @txnelson).I am guessing it's just a simple naming convention issue?
I am also trying to rename my table's grouping column :Identity to "Phase".
nw =New Window("window title",
V List Box(
tb = concat<<TABULATE></TABULATE>ScriptingWindowsRe: Remove the "Where" from Window and Change grouping column namesI'm not exactly sure which of the many methods is referenced here, but XPath usually works. Here is one example which might work:
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
tab = new window("",
Tabulate(
Show Control Panel(0),
Add Table(
Column Table(Grouping Columns(:age)),
Row Table(Grouping Columns(:name))
),
Where(:sex == "F")
);
);
wait(2);
where_tb = (tab << Top Parent) << XPath("//TextBox[contains(text(), 'Where(:')]");
where_tb[1] << Visibility("Collapse"); //or delete