<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Einfach wenn es irgendwo einen Wert gibt, analog für Kosten:</div><div class=""><br class=""></div><div class="">/**</div><div class=""> * Post-update entity list after adding/ removing/ updating entities</div><div class=""> *</div><div class=""> * @todo move to Entity class</div><div class=""> */</div><div class="">vz.entities.updateTableColumnVisibility = function() {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>// hide costs if empty for all rows</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>$('.cost').css({</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>display: ($('tbody .cost').filter(function() {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>return (+$(this).data('cost') || 0) > 0;</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span> }).get().length === 0) ? 'none' : ''</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>});</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>// hide total consumption if empty for all rows</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>$('.total').css({</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>display: ($('tbody .total').filter(function() {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>return (+$(this).data('total') || 0) > 0;</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span> }).get().length === 0) ? 'none' : ''</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>});</div><div class="">};</div><div class=""><br class=""></div><div class="">Viele Grüße, Andreas</div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On 24 Sep 2016, at 15:53, Bernd Gewehr <<a href="mailto:bernd@gewehr.net" class="">bernd@gewehr.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class=""><div class=""><div style="direction: inherit;" class="">Hallo, Andreas,</div><div style="direction: inherit;" class=""><br class=""></div><div style="direction: inherit;" class="">ja, ist es.</div><div style="direction: inherit;" class=""><br class=""></div><div style="direction: inherit;" class="">Ich wollte mal versuchen, alle Daten zu löschen. Vielleicht steckt da der Teufel im Detail.</div><p style="direction: inherit;" class="">Ich fange jetzt wieder an, mich drum zu kümmern.</p><p style="direction: inherit;" class="">Was mir helfen könnte: Nach welcher Regel wird die Spalte "gesamt" eingeblendet?</p><p style="direction: inherit;" class="">Gruß Bernd</p></div><div class=""><br class=""><div class=""><br class=""><br class=""><p class=""><span style="background-color: rgba(255, 255, 255, 0);" class="">Mit den besten Grüßen</span></p><p class=""><span style="background-color: rgba(255, 255, 255, 0);" class="">Bernd Gewehr</span></p><div class=""><pre class=""><font face=".Helvetica NeueUI" class=""><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);" class=""><a href="x-apple-data-detectors://0/0" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="0/0" class="">Burgstr. 45F</a></span></font></pre><pre class=""><font face=".Helvetica NeueUI" class=""><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);" class=""><a href="x-apple-data-detectors://0/0" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="0/0" class="">45289 Essen</a></span></font></pre><pre class=""><font face=".Helvetica NeueUI" class=""><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);" class=""><a href="tel:02014784606" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="0/1" class="">02014784606</a></span></font></pre><pre class=""><font face=".Helvetica NeueUI" class=""><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);" class=""><a href="tel:015209328236" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="0/2" class="">015209328236</a></span></font></pre></div></div>Am 23.09.2016 um 19:11 schrieb Andreas Goetz <<a href="mailto:cpuidle@gmail.com" class="">cpuidle@gmail.com</a>>:<br class=""><br class=""></div><blockquote type="cite" class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class="">Hi Bernd, Thema noch aktuell?<div class=""><br class=""></div><div class="">Viele Grüße, Andreas</div></blockquote></div></div></blockquote></div><br class=""></body></html>