Page 1 of 1
Sorting then Grouping
Posted: 23 Aug 2018 14:24
by pimpi
Hi,
it would be nice if XY could sort files by several Requirements and then display it in groups like in the windows explorer. The groups which are shown in blocks are very display friendly and you can find files much faster.
Thanks
Re: Sorting then Grouping
Posted: 23 Aug 2018 14:40
by highend
by several Requirements
And these requirements are?
E.g. grouping can be done via color filters like so (in this case by extensions, every second group is colorized...):
Code: Select all
$color = "000000,00CC00"; // Light green
$extensions = formatlist(regexmatches(listfolder(, , 1, <crlf>), "[^.]*?(?=\r?\n|$)", <crlf>), "sd", <crlf>);
$filter = "";
while ($i++ < gettoken($extensions, "count", <crlf>)) {
if ($i % 2 == 0) { $filter .= "*." . gettoken($extensions, $i, <crlf>) . ";"; }
}
sortby "Ext", "a";
colorfilter("$filter>$color");
Re: Sorting then Grouping
Posted: 23 Aug 2018 22:25
by jupe
You can also do a limited color grouping abilities by enabling the grid:
Tools | Customize List | Show Grid
and setting the group type here:
Configuration | Colors and Styles | More Colors | Grid style == Alternate Groups
or
Configuration | Colors and Styles | More Colors | Grid style == Highlighted Groups
and set the grid color here, if you aren't happy with the default:
Configuration | Colors and Styles | Colors | Grid