mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
133 lines
5.8 KiB
133 lines
5.8 KiB
1 year ago
|
---
|
||
|
title: "Column Operations"
|
||
|
description: "Column Operations: Fields, Sort & Filter"
|
||
|
---
|
||
|
|
||
|
## Fields
|
||
|
|
||
|
Click `Fields` to control the visibility of a field.
|
||
|
|
||
|
By default, all system fields will be hid. However, you can tick `Show system fields` to make them visible.
|
||
|
|
||
|
<img width="1268" alt="image" src="https://user-images.githubusercontent.com/86527202/262226113-6ad574c2-93d0-49ac-be28-01b336df8de4.png" />
|
||
|
|
||
|
### Re-order Columns
|
||
|
|
||
|
Column positions can be re-ordered. Open `Fields` menu, and re-order fields as needed by dragging and dropping the `drag icon`.
|
||
|
|
||
|
<img width="1268" alt="image" src="https://user-images.githubusercontent.com/86527202/262226232-0b30d4b2-3390-470f-bf01-72b5b922726b.png" />
|
||
|
|
||
|
### Hide / Unhide Columns
|
||
|
|
||
|
To hide / un-hide columns, open Fields menu, click on associated toggle button to hide / un-hide.
|
||
|
|
||
|
:::tip
|
||
|
|
||
|
You can create different grid views with different fields shown in each view.
|
||
|
|
||
|
:::
|
||
|
|
||
|
<img alt="image" src="https://user-images.githubusercontent.com/86527202/262226271-b9a323e9-39b8-418d-9b7c-3da0f2d17d89.png" />
|
||
|
|
||
|
<!-- #### Demo -->
|
||
|
|
||
|
<!-- <img src="https://github.com/dstala/nocodb-files/blob/2c4ca2ff31460ee5636262e88ba303e2d436ba54/ColumnHide.gif?raw=true" width="100%"/> -- />
|
||
|
<!-- img src="https://media2.giphy.com/media/8NXvWfHDoul72dwLhk/giphy.gif?cid=790b76116fa008b45c79bb91bfe611e324fa38cde21a255a&rid=giphy.gif&ct=g" width="60%"/ -->
|
||
|
|
||
|
## Sort
|
||
|
|
||
|
Sorting allows you to order contents alphabetically (A → Z) / (Z → A) (OR) in ascending / descending order. NocoDB allows nested sorting. You can choose column fields & order in which to apply nested sorting. Lookup, Formula, Nested Data are also supported in Sorting.
|
||
|
|
||
|
### Add / Edit sort
|
||
|
|
||
|
- Click on `Sort` button in the toolbar menu
|
||
|
- Select `Field` to sort by
|
||
|
|
||
|
|
||
|
![sort](https://github.com/nocodb/nocodb/assets/86527202/5665b5db-7d66-4d17-8307-4a8bf32360c8)
|
||
|
|
||
|
- Configure sort `direction`
|
||
|
|
||
|
|
||
|
![sort direction](https://github.com/nocodb/nocodb/assets/86527202/56a6d29b-de43-4aaf-b77e-41f32bb58f93)
|
||
|
|
||
|
- Multiple fields can be configured for subsequent level sorting
|
||
|
|
||
|
|
||
|
![sort nested](https://github.com/nocodb/nocodb/assets/86527202/4e9393d7-953c-4a3f-bb4e-3b0161042ae4)
|
||
|
|
||
|
|
||
|
Note: Field configured on the top will be used for first level sorting, followed by subsequent fields in top-down order
|
||
|
|
||
|
### Delete sort
|
||
|
- Click on `Sort` button in the toolbar
|
||
|
- Click on the bin icon to the right of the sort you wish to delete
|
||
|
|
||
|
![sort delete](https://github.com/nocodb/nocodb/assets/86527202/d469110b-12b2-4b8a-83ee-fe8819da2dc1)
|
||
|
|
||
|
|
||
|
## Filter
|
||
|
|
||
|
Filters allow you to restrict / organize your data on the view as per your needs. NocoDB allows nested filters. You can choose multiple columns and conditions to apply filter. Between filters, you can opt for either `and` or `or` mode operation. Lookup, Formula, Nested Data are also supported in Filtering.
|
||
|
|
||
|
### Add / Edit filter
|
||
|
Click on `Filter` button in the toolbar, select either `Add filter` or `Add filter group`
|
||
|
|
||
|
![filter add](https://github.com/nocodb/nocodb/assets/86527202/f312d8e5-98f1-4e34-ad82-460bb5eacef3)
|
||
|
|
||
|
Configure filter : `Column` `Operation` and `Value` (if applicable)
|
||
|
|
||
|
![filter level-1](https://github.com/nocodb/nocodb/assets/86527202/62ac5ea5-64c7-4ab4-93bc-c2897e1a9122)
|
||
|
|
||
|
Multiple filter conditions can be combined by using either `and` or `or` mode of operation
|
||
|
|
||
|
![filter nested](https://github.com/nocodb/nocodb/assets/86527202/1e9af5bf-c19f-49ed-8fc4-a62093f6ee01)
|
||
|
|
||
|
### Delete filter
|
||
|
|
||
|
To delete a filter, click on the bin icon to the right of the associated filter
|
||
|
|
||
|
![filter delete](https://github.com/nocodb/nocodb/assets/86527202/c8f5abac-a550-4152-ab51-5f0765cd188b)
|
||
|
|
||
|
|
||
|
### Grouped filters
|
||
|
You can also group several filters together using Filter Group.
|
||
|
|
||
|
![filter grouped](https://github.com/nocodb/nocodb/assets/86527202/582c29de-28cd-4414-b7db-4b1b1eea131e)
|
||
|
|
||
|
## Enable NULL and EMPTY Filters
|
||
|
NULL filters (`is null` & `is not null`) and EMPTY filters (`is empty` & `is not empty`) are hidden by default. If you wish to filter out either one only, you may enable `Show NULL and EMPTY Filter` in Project Settings.
|
||
|
|
||
|
![project settings](https://github.com/nocodb/nocodb/assets/86527202/49d40f16-f8bd-4925-a4d0-65efb2d8f73e)
|
||
|
|
||
|
![filters show null empty](https://github.com/nocodb/nocodb/assets/86527202/a383f5e8-f2b9-461b-b725-9b172ac9975b)
|
||
|
|
||
|
Otherwise, we can use Blank filters to filter out cells with NULL values and EMPTY values.
|
||
|
|
||
|
### Supported Filters
|
||
|
|
||
|
Currently, we support different types of filters for corresponding columns. Please refer the below matrix for details.
|
||
|
|
||
|
<iframe width="100%" height="700vh" src="https://docs.google.com/spreadsheets/d/e/2PACX-1vTpCNKtA-szaXUKJEO5uuSIRnzUOK793MKnyBz9m2rQcwn7HqK19jPHeER-IIRWH9X56J78wfxXZuuv/pubhtml?gid=427284630&single=true&widget=true&headers=false"></iframe>
|
||
|
|
||
|
## Group by
|
||
|
Group-by allows one to visually categorise records on grid into specific `Groups` & `Sub groups`. NocoDB allows three levels of record seggregation.
|
||
|
|
||
|
![group by](https://github.com/nocodb/nocodb/assets/86527202/d4bfcdee-85ed-4c98-92ac-12055f9715e4)
|
||
|
|
||
|
### Add / Edit group-by
|
||
|
- Click on `Group By` in the toolbar
|
||
|
- Choose field for the records to be grouped by
|
||
|
- Optionally- you can also sort groups, in either ascending or descending way.
|
||
|
- Add sub-groups of upto 3 levels
|
||
|
|
||
|
### Delete group-by
|
||
|
- Click on `Group By` in the toolbar
|
||
|
- Click on the bin icon to the right of the group you wish to delete
|
||
|
|
||
|
Note: To disable `Group by` & return back to standard spreadsheet grid view - you need to remove all the groups configured.
|
||
|
|
||
|
## Row Height
|
||
|
NocoDB allows you to change height of records displayed on spreadsheet grid to 4 different levels `Short` (default), `Medium`, `Tall`, and `Extra`. This allows you to bring more content per cell to be displayed, useful when working with lengthy text columns and multi select fields.
|
||
|
|
||
|
![Row height](https://github.com/nocodb/nocodb/assets/86527202/6f49e7b4-a3de-4325-a11e-3ffc670ddd2e)
|