cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
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