cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
thickey1
Level III

Adding a table to a display object

I am trying to build an User Interface which must incorporate a JMP Data Table. Beeen browsing around but cannot seem to figure it out.

 

In pseudo code I want to do something like this whereby I kick off a platform and a data table is present. In the course of my JSL running I will then populate/write to this data table 'live'

 

DT = newTable("Test")

Platform = new Window("App", DisplayBox(DT))

 

 hope this makes sense :)

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Adding a table to a display object

Look in the Scripting Index for "New Data Box()"

Names Default To Here( 1 );
dtA = Open( "$SAMPLE_DATA/Big Class.jmp", invisible );
New Window( "school",
	H List Box(
		dtA << New Data Box(),
		Text Box(),
		dtA << Distribution(
			ContinuousDistribution( Column( :weight ) ),
			NominalDistribution( Column( :age ) )
		)
	)
);
Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: Adding a table to a display object

Look in the Scripting Index for "New Data Box()"

Names Default To Here( 1 );
dtA = Open( "$SAMPLE_DATA/Big Class.jmp", invisible );
New Window( "school",
	H List Box(
		dtA << New Data Box(),
		Text Box(),
		dtA << Distribution(
			ContinuousDistribution( Column( :weight ) ),
			NominalDistribution( Column( :age ) )
		)
	)
);
Jim
thickey1
Level III

Re: Adding a table to a display object

Thanks Jim. I learned something new based on your reply.......in JMP 15 all Messages are shown clearly in the Scripting Index and I see this example there also. Exactly what I needed. Cheers, Troy