Yad checklist sort variable output

87 views
Skip to first unread message

s.he...@gmail.com

unread,
Feb 9, 2022, 9:46:14 AM2/9/22
to yad-common
I have a yad checklist with 114 sorted rows from 1 to 114 in 3 columns:

list=$(cat file | yad --list --checklist --column= --column=Ne --column=ID --column=EMAIL)

if [ $? = 0 ]; then
var=$(echo "$list" | awk -F"|" '{print $1, $3}')
fi

For example, when the following rows in first column are checked: 1, 20 and 7  the output is sorted like this:

TRUE 1
TRUE 7
TRUE 20

how to get values sorted by row click (1, 20 and 7)?

Misko

unread,
Feb 28, 2022, 6:31:43 PM2/28/22
to yad-common
Add --editable option to the command line of the list, right click the row and select "move the row up" from the floating menu.
Reply all
Reply to author
Forward
0 new messages