Spero di riuscire a cercare il contenuto della casella Tree. Nello stato della casella List come mostrato nel JSL, è facile eseguire una ricerca per parola chiave. Tuttavia, non è così semplice con la casella Tree. Potresti cortesemente farmi sapere quali metodi possono essere utilizzati per implementare la ricerca per parola chiave per gli elementi nella casella Tree?
dt=New Table( "Food Tree",
Add Rows( 8 ),
New Column( "Name",
Character,
"Nominal",
Set Selected,
Set Values(
{"Apple", "Banana", "Watermelon", "Fruit", "Broccoli", "Lettuce",
"Potato", "Vegetable"}
)
),
New Column( "Category",
Character,
"Nominal",
Set Values(
{"Fruit", "Fruit", "Fruit", "", "Vegetable", "Vegetable", "Vegetable",
""}
)
),
New Column( "Level",
Numeric,
"Continuous",
Format( "Best", 12 ),
Set Values( [2, 2, 2, 1, 2, 2, 2, 1] )
),
Set Row States( [0, 0, 0, 1, 0, 0, 0, 0] )
);
relations = [=>];
For Each Row( dt,
relations[:Name] = Tree Node( :Name );
relations[:Name] <<SET data="https://community.jmp.com/"></SET>Sì, è lo stesso. Questo post è stato bloccato dopo la sua pubblicazione, e non so perché.
Successivamente è stato sbloccato, ma ho già riproposto la domanda.