Sometimes this works for me and sometimes this doesn't (no idea why)
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp", invisible);
btn_expr = Expr(
dtbox = dt << New Data Box();
tb << Insert("table", dtbox);
dtbox << Close Side Panels(1);
);
nw = New Window("School",
H List Box(
Button Box("Add",
btn_expr;
),
tb = Tab Box()
)
);
Even if the preview in JMP17 seems to be data table box it doesn't seem to be exactly the same as we have access to
JMP17 preview: You cannot show side panel with the button (as it is missing)
Also the table is locked and right click doesn't do anything (most likely there are other differences also). It seems to be DataBrowserBox (I think New Data Box() also generates one, but still there are differences)
-Jarmo