cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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

Recommended Articles