Org-mode mailing list
 help / color / mirror / Atom feed
* columnview: could «id» be a list of values?
@ 2020-11-25  9:52 Uwe Brauer
  0 siblings, 0 replies; only message in thread
From: Uwe Brauer @ 2020-11-25  9:52 UTC (permalink / raw)
  To: emacs-orgmode


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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-25  9:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-25  9:52 columnview: could «id» be a list of values? Uwe Brauer

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://orgmode.org/list/0 list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ https://orgmode.org/list \
		emacs-orgmode@gnu.org
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git