A button check and show status column if there is at least one file/folder has status

I want to create a button check status column if there is at least one file/folder has status

1- if there is a file / folder in the currently focused lister has status (impotant / flagged / complete / etc.), show the status column

2- otherwise, hide the status column

Could you please help ?

You could do it using scripting but it would be fairly involved. Why not just toggle the column on to see if anything is in it, then toggle it off if it's not needed? You could make the button turn on the column and sort by it at the same time to quickly see if anything has status icons.

I prefer Dopus automatically detects and shows label column when navigating a folder instead. It'd be awesome if it's a feature in the version 13.
:blush: