[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
columnview: could «id» be a list of values?
From: |
Uwe Brauer |
Subject: |
columnview: could «id» be a list of values? |
Date: |
Wed, 25 Nov 2020 10:52:13 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hi
I have the following structure in a document. I will include the
document at the end of the message for better readability.
The structure is as follows
* Sheet 1
** G1/S1/E1 (id G1-S1-E1)
** G2/S1/E2 (id G2-S1-E2)
** Table generated via coumnview containing the tree
* Sheet 2
** G1/S2/E1 (id G1-S2-E1)
** G2/S2/E2 (id G2-S2-E1)
** Table generated via coumnview containing the tree
But I would also have tables which are generated by a reordering of the
file such as
* Group1
** G1/S1/E1
** G1/S2/E1
** Table generated via coumnview containing the tree
* Group 2
** G2/S1/E2
** G2/S2/E2
** Table generated via coumnview containing the tree
Now it is a hassle to reorder the file in this way.
Each subheader has a different id
So the best would be if I could do the following
#+BEGIN: columnview :hlines 1 :indent nil :format
"%50id[G1-S1-E1,G1-S2-E2](Sheet) %7Status(Status){X/}"
| Sheet | Status |
|----------+--------|
| Sheet1 | [2/2] |
| G1-S1-E1 | [X] |
| G2-S1-E2 | [X] |
| | |
#+END
But this seems not to be possible.
Does anybody has an idea how to achieve my goal, producing tables via
columnview form sub-header that posses a distinct id?
Thanks and regards
Uwe Brauer
File:
* Sheet 1
:PROPERTIES:
:COLUMNS: %10Sheet(Sheet Nr) %10Ub(Exercise Nr) %7STATUS(Status){X/}
:ID: Sheet1
:END:
** G1/S1/E1
:PROPERTIES:
:ID: G1-S1-E1
:STATUS: [X]
:END:
** G2/S1/E2
:PROPERTIES:
:Id: G2-S1-E2
:STATUS: [X]
:END:
** DONE
#+BEGIN: columnview :hlines 1 :indent nil :format "%50id(Sheet)
%7Status(Status){X/}"
| Sheet | Status |
|----------+--------|
| Sheet1 | [2/2] |
| G1-S1-E1 | [X] |
| G2-S1-E2 | [X] |
| | |
#+END
* Sheet 2
:PROPERTIES:
:COLUMNS: %10Sheet(Sheet Nr) %10Ub(Exercise Nr) %7STATUS(Status){X/}
:ID: Sheet2
:END:
** G1/S2/E1
:PROPERTIES:
:ID: G1-S2-E1
:STATUS: [X]
:END:
** G2/S2/E2
:PROPERTIES:
:Id: G2-S2-E2
:STATUS: [X]
:END:
** DONE
#+BEGIN: columnview :hlines 1 :indent nil :format "%50id(Sheet)
%7Status(Status){X/}"
| Sheet | Status |
|----------+--------|
| Sheet2 | [2/2] |
| G1-S2-E1 | [X] |
| G2-S2-E2 | [X] |
| | |
#+END
* Group 1
:PROPERTIES:
:COLUMNS: %10Group(Sheet Nr) %10Ub(Exercise Nr) %7STATUS(Status){X/}
:ID: Group1
:END:
** G1/S1/E1
:PROPERTIES:
:ID: G1-S1-E1
:STATUS: [X]
:END:
** G1/S2/E1
:PROPERTIES:
:ID: G1-S2-E1
:STATUS: [X]
:END:
** DONE
#+BEGIN: columnview :hlines 1 :indent nil :format "%50id(Group)
%7Status(Status){X/}"
| Group | Status |
|----------+--------|
| Group1 | [2/2] |
| G1-S1-E1 | [X] |
| G1-S2-E1 | [X] |
| | |
#+END
* Group 2
:PROPERTIES:
:COLUMNS: %10Group(Sheet Nr) %10Ub(Exercise Nr) %7STATUS(Status){X/}
:ID: Group2
:END:
** G2/S1/E2
:PROPERTIES:
:Id: G2-S1-E2
:STATUS: [X]
:END:
** G2/S2/E2
:PROPERTIES:
:Id: G2-S2-E2
:STATUS: [X]
:END:
** DONE
#+BEGIN: columnview :hlines 1 :indent nil :format "%50id(Group)
%7Status(Status){X/}"
| Group | Status |
|----------+--------|
| Group2 | [2/2] |
| G2-S1-E2 | [X] |
| G2-S2-E2 | [X] |
| | |
#+END
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- columnview: could «id» be a list of values?,
Uwe Brauer <=