Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
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
Highlighted
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
Highlighted
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

Highlighted
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
Article Labels