# Columns: CustomGrouping (group by SizeRange/FileTypeGroup..)

**URL:** https://resource.dopus.com/t/columns-customgrouping-group-by-sizerange-filetypegroup/19009
**Category:** Buttons/Scripts
**Tags:** script, column, jscript
**Created:** [August 20, 2014, 5:15pm UTC](https://resource.dopus.com/t/columns-customgrouping-group-by-sizerange-filetypegroup/19009 "2014-08-20T17:15:34Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![tbone](https://resource.dopus.com/user_avatar/resource.dopus.com/tbone/32/25726_2.png) [@tbone](https://resource.dopus.com/u/tbone)
#### Post date: [August 20, 2014, 5:15pm UTC](https://resource.dopus.com/t/columns-customgrouping-group-by-sizerange-filetypegroup/19009/1 "2014-08-20T17:15:34Z")

</div>

Introduction  
"CustomGrouping" - Some columns which DO does not support natively.  
These (may) provide adjustable group names, number of groups or sorting items by DO internal settings.

Columns:  
Notice: Names and size ranges of groups can be customized from script config, see screenshot.

- Column "RandomNumber", let's you sort items randomly
- Column "Size1", group by name of size groups
- Column "Size2", group by range of size groups
- Column "Size3", group by name + range of size groups
- Column "FileTypeGroup", show and group by DOs file type group (v11.18+)
- Column "Kind", import Explorers "Kind" column (v12.0.8+), thx to Leo o) -\> [Column: Kind and File Type Group](https://resource.dopus.com/viewtopic.php?f=35&t=28603)

Demo:

 ![](https://resource.dopus.com/uploads/default/original/3X/b/5/b5f3f3f9b4cf7752b1012936afcd7607098c3d79.png)  

Installation:  
To install the columns, download the \*.js.txt file below and drag it to Preferences / Toolbars / Scripts.  
After that, right click any listers column header and add the columns from the "script" submenu.

Download:

Latest:

- v0.4.2 / 2017.01.09 - new column "Kind"  
[Column.Generic\_CustomGrouping.js.txt](https://resource.dopus.com/uploads/default/original/3X/a/2/a24946eb29338897c1e8e9e0a0a6cf9ceb16ff58.txt) (35.5 KB)
- v0.4 / 2016.06.15 - new column "random" to randomize lister content/sort order  
[Column.Generic\_CustomGrouping.js.txt](https://resource.dopus.com/uploads/default/original/3X/f/5/f5a4cc2c186791f7ac16db4b3eb146da95f0e8e2.txt) (32.7 KB)
- v0.3 - new file type (group) column, another size column for grouping items by name, more..  
[Column.Generic\_CustomGrouping.js.txt](https://resource.dopus.com/uploads/default/original/3X/7/8/78f0fd711ce7a37f60b416ff37e091345e2b32f1.txt) (31.6 KB)

---

_[View the full topic](https://resource.dopus.com/t/columns-customgrouping-group-by-sizerange-filetypegroup/19009)._
