Re: Can the listbox have a select all command - Status changed to: AcknowledgedThanks for the idea @lishuanglin. We will look into this.
As a workaround, you can use a short script to do this
Names Default To Here( 1 );
New Window( "List Box", Outline Box( "List Box", lb = List Box( {"a", "b", "c"} ) ) );
For( i = 1, i <= N Items( lb << get items ), i++,
lb << set selected( i )
);
and you could make a function to do this
Names Default To Here( 1 );
New Window( "List Box", Outline Box( "List Box", lb = List Box( {"a", "b", "c"} ) ) );
listbox_select_all = Function( {listboxref},
{i},
Try(
If( listboxref << class name() == "ListBoxBox",
For( i = 1, i <= N Items( listboxref << get items ), i++,
listboxref << set selected( i )
)
)
)
);
listbox_select_all(lb);Re: Can the listbox have a select all command - Status changed to: InvestigatingRe: Can the listbox have a select all commandThanks, tried it with the method you provided and it is very slow. Because there are scripts in the list box that set the row state of the table, and the selected elements, corresponding to the rows in the table, are hidden and excluded, so when I have 4000 elements in my listbox, it is very slow.
Re: Can the listbox have a select all command - Status changed to: We like it! (in the queue)This looks like something that we can do in a future release. We will follow up when we decide when to add this capability.
Can the listbox have a select all commandWhat inspired this wish list request?
Can the listbox have a select all command, at the moment you can only select one by one. Use lb<
What is the improvement you would like to see?
listbox has a command to select all elements at once.
Why is this idea important?
Many commands have this, but listbox does not; for example, checkbox
Mass CustomizationRe: Can the listbox have a select all command - Status changed to: Yes, Stay Tuned!This will be available in JMP 19.
Re: Can the listbox have a select all command - Status changed to: Delivered