From 5fa9d45666d136e32789286f73430dda8058329f Mon Sep 17 00:00:00 2001 From: Maxim Uvarov Date: Tue, 25 Jul 2023 02:56:12 +0000 Subject: [PATCH 1/2] [docs] add info about adding sorting to existing sort criteria --- docs/rows.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/rows.md b/docs/rows.md index 31a60a286..008b04a3b 100644 --- a/docs/rows.md +++ b/docs/rows.md @@ -115,8 +115,10 @@ Command(s) Operation Command(s) Operation ----------------- ------------- - `[` `]` sorts ascending/descending by **current** column -`g[` `g]` sorts ascending/descending by **all key** columns + `[` `]` sorts ascending/descending by **current** column; replace any existing sort criteria +`g[` `g]` sorts ascending/descending by **all key** columns; replace any existing sort criteria +`z[` `z]` sorts ascending/descending by **current** column; add to existing sort criteria +`gz[` `gz]` sorts ascending/descending by **all key** column; add to existing sort criteria ###### How to sort a numerical column from highest number to lowest: @@ -133,6 +135,11 @@ Command(s) Operation 1. Press `!` on those columns to designate them as key columns. 2. Press `g[` or `g]` to sort. +**or** + +1. Sort the first column with `[` or `]`. +2. Sort the next column with `z[` or `z]` to add sorting to the existing criteria. + ###### How to increase row height Press `v` on any **TableSheet** to toggle multi-line rows. This dynamically lengthens rows so that the full content of the column is visible. From 3d2451c106e760497bc95e0daacf1d1fe1a8ae99 Mon Sep 17 00:00:00 2001 From: Maxim Uvarov Date: Fri, 28 Jul 2023 02:30:15 +0000 Subject: [PATCH 2/2] add zM notion --- docs/columns.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/columns.md b/docs/columns.md index 9f88872e8..fa7531c15 100644 --- a/docs/columns.md +++ b/docs/columns.md @@ -205,6 +205,7 @@ Command Operation ` z(` expand _current_ column to a specific depth (prompt for input) `gz(` expand _all visible_ columns to a specific depth (prompt for input) ` )` contract (unexpand) the current column +` zM` expand _current_ column row-wise within that column The following demo shows `(` commands applied to this data: