Long story short...
Would like to define a folder format that has grouping, but would like the grouping to be collapsed so that I can expand the one's of interest to me.
Can this be done ?
Long story short...
Would like to define a folder format that has grouping, but would like the grouping to be collapsed so that I can expand the one's of interest to me.
Can this be done ?
bump
This would be a nice feature, maybe for 11.2
So you'd be looking for an option to auto-collapse all groups? Or just specific ones?
auto-collapse all groups as default for the folder format
10 years later… lol
I'd like to have the option to select a specific group and keep it collapsed by default. Not all groups, just those I choose.
check this Evaluator Group for pointers, it collapses all except for Today,
Copy and paste it into Evaluator Groups, it uses modified column
<?xml version="1.0"?>
<evalgroupscheme desc="Date modified - Today" reverse="no" scheme_name="date_modified_today" sort="no">
<eval>//days = DateDiff("d", modified, Now());
days = Age(modified);
groupName = "";
groupDayNumber = DatePart(modified, "MMM") + " " + DatePart(modified, "d") + (Right(DatePart(modified, "d"),1) == "1" ? "st" : Right(DatePart(modified, "d"),1) == "2" ? "nd" : Right(DatePart(modified, "d"),1) == "3" ? "rd" : "th");
groupDayName = " " + DatePart(modified, "dddd") + " ";
orderOut = 0;
collapsed = true;
if
(days < 1)
{
groupName = "Today";
orderOut = 1000;
collapsed = false;
}
elseif
(days < 2)
{
groupName = "Yesterday";
orderOut = 900;
}
elseif
(days < 3)
{
groupName = "2 days ago";
orderOut = 800;
}
elseif
(days < 4)
{
groupName = "3 days ago";
orderOut = 700;
}
elseif
(days < 5)
{
groupName = "4 days ago";
orderOut = 600;
}
elseif
(days < 6)
{
groupName = "5 days ago";
orderOut = 500;
}
elseif
(days < 7)
{
groupName = "6 days ago";
orderOut = 400;
}
elseif
(days < 8)
{
groupName = "7 days ago";
orderOut = 300;
}
else
{
groupName = "More than a week ago";
groupDayName = "";
groupDayNumber = "";
orderOut = 100;
}
groupName = groupName as "%-20" + groupDayNumber as "%-30" + groupDayName as "%-43";
return [name = groupName; order = orderOut; collapse = collapsed;];
//
// see https://resource.dopus.com/t/grouping-scheme-date-order-issue/46556/9
//
// Sort order needs to be an integer;
//
</eval>
<groups enable="no" />
<columns>
<col default="no" id="3" />
<col default="no" id="10" />
<col default="no" id="41" />
<col default="no" id="4" />
</columns>
</evalgroupscheme>