emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Axel Kielhorn <org-mode@axelkielhorn.de>
To: Org-Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: TODO or checkboxes in org tables
Date: Sat, 2 May 2020 10:46:59 +0200	[thread overview]
Message-ID: <1A60895F-3208-44E8-8FC8-A1E62CE00BCE@axelkielhorn.de> (raw)
In-Reply-To: <87v9lfwgby.fsf@mat.ucm.es>

Hi Uwe,

> I have an orgtable with a lot of useful information, I would like to add
> a column either for TODOS or checkboxes but it seems not work any idea
> whether such an addon package exist or any change that such a feature
> will be implemented?

I use a different approach.
I store the information in a normal org structure with TODO keywords.
I hide the checkboxes (and other meta information) in a drawer.

From this I generate a column view to present the information in a table.

You can generate different column views from the same data set.
I used the second version for years but recently discovered the :match argument.
If you mark the actual data as :noexport: only the table will be printed.

Greetings
Axel


** Arbeitsfortschritt
:PROPERTIES:
    :EXPORT_FILE_NAME: Beispiele
    :EXPORT_OPTIONS: num:nil
    :COLUMNS:  %50ITEM(Problem) %5PB(Nr BP) %11TODO(Status) %6TAGS(Wer) %10TERMIN(Termin) %7ERLEDIGT(Erledigt){X/} %6SICHERHEIT(Sicher){X/}
    :ID: Aufgaben
:END:

*** 2017-10-19 [5/7]
**** CAD nachpflegen Lasertaster                                     :BKI:
:PROPERTIES:
:TERMIN: 
:PB: 1
:ERLEDIGT: [ ]
:END:
**** DONE Ventilinsel                                                :BKI:
:PROPERTIES:
:ERLMON:   [X]
:PB:       2
:ERLEDIGT: [X]
:END:
- Kollision mit Verkleidung prüfen
**** DONE Schaltschrank
    CLOSED: [2017-11-22 Mi 11:52]
    :PROPERTIES:
    :PB:       3
    :ERLEDIGT:   [X]
    :TERMIN: 2017-12-05
    :END:
**** DONE Schutzverkleidung
    CLOSED: [2017-10-20 Fr 09:29]
    :PROPERTIES:
    :PB:       4
    :ERLEDIGT:   [X]
    :TERMIN: 2017-11-03
    :SICHERHEIT: [ ]
    :END:
**** Projektleiter Bodenverankerung (Bohrtiefe)                       :PL:
    :PROPERTIES:
    :PB:       5
    :ERLEDIGT: [ ]
    :END:
- Befestigung kundenseitig
**** DONE Wartungseinheit
    CLOSED: [2017-11-02 Do 07:54]
    :PROPERTIES:
    :PB:       6
    :ERLEDIGT:   [X]
    :END:
- Luftzuführung
- zusätzlicher Verteiler für gesicherte Luft
- Rejekt und Stopper mit Einzelventilen
**** DONE Roboter Vakuumerzeuger
    CLOSED: [2018-01-16 Di 13:33]
    :PROPERTIES:
    :PB:       7
    :ERLEDIGT: [X]
    :END:
- Bohrung in Rahmen fertig
- Blechteil fehlt noch



*** Aushang Arbeitsfortschritt

#+BEGIN: columnview :hlines 1 :id "Aufgaben" :indent t :match "/-DONE" :format "%50ITEM(Problem) %5PB(Nr) %12TODO %8TAGS(Wer) %12Termin"
#+attr_latex: :align p{3.5cm}rlll  
| Problem                              | Nr | TODO            | Wer   | Termin |
|--------------------------------------+----+-----------------+-------+--------|
| \_  Arbeitsfortschritt               |    |                 |       |        |
| \_    2017-10-19                     |    |                 |       |        |
| \_      Lasertaster                  |  1 | CAD nachpflegen | :BKI: |        |
| \_      Bodenverankerung (Bohrtiefe) |  5 | Projektleiter   | :PL:  |        |
| \_    Aushang Arbeitsfortschritt     |    |                 |       |        |
#+END

*** Aushang Arbeitsfortschritt (alt)

#+BEGIN: columnview :hlines 1 :id "Aufgaben" :indent t :format "%50ITEM(Problem) %5PB(Nr) %12TODO %8TAGS(Wer) %12Termin %7ERLEDIGT(Erledigt){X/}"
| Problem                              | Nr | TODO            | Wer   |     Termin | Erledigt |
|--------------------------------------+----+-----------------+-------+------------+----------|
| \_  Arbeitsfortschritt               |    |                 |       |            | [0/1]    |
| \_    2017-10-19                     |    |                 |       |            | [5/7]    |
| \_      Lasertaster                  |  1 | CAD nachpflegen | :BKI: |            | [ ]      |
| \_      Ventilinsel                  |  2 | DONE            | :BKI: |            | [X]      |
| \_      Schaltschrank                |  3 | DONE            |       | 2017-12-05 | [X]      |
| \_      Schutzverkleidung            |  4 | DONE            |       | 2017-11-03 | [X]      |
| \_      Bodenverankerung (Bohrtiefe) |  5 | Projektleiter   | :PL:  |            | [ ]      |
| \_      Wartungseinheit              |  6 | DONE            |       |            | [X]      |
| \_      Roboter Vakuumerzeuger       |  7 | DONE            |       |            | [X]      |
| \_    Aushang Arbeitsfortschritt     |    |                 |       |            |          |
#+END

  reply	other threads:[~2020-05-02  8:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-01 20:28 TODO or checkboxes in org tables Uwe Brauer
2020-05-02  8:46 ` Axel Kielhorn [this message]
2020-05-02 19:33   ` Uwe Brauer
2020-05-03  7:05     ` Axel Kielhorn
2020-05-07 17:05       ` Uwe Brauer
2020-05-08  4:37         ` Axel Kielhorn
2020-05-08  9:21           ` Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1A60895F-3208-44E8-8FC8-A1E62CE00BCE@axelkielhorn.de \
    --to=org-mode@axelkielhorn.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).