Skip to content

Commit

Permalink
Deployed 067d4de with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Oct 24, 2024
1 parent 8b3dee3 commit f59a448
Show file tree
Hide file tree
Showing 28 changed files with 754 additions and 750 deletions.
5 changes: 3 additions & 2 deletions conditional-formatting/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1080,10 +1080,11 @@ <h1 id="conditional-formatting">Conditional Formatting<a class="headerlink" href
<p>To add conditional formatting to rows, go to the <code>ROW STYLE</code> section of the <a href="../glossary/#creator-panel">creator panel</a> under the <code>Table &gt; Widget</code> tab, and click on <code>Add conditional style</code>.</p>
<p><img alt="Conditional Row Styles" src="../images/newsletters/2022-08/conditional-row.png" /></p>
<h2 id="order-of-rules">Order of Rules<a class="headerlink" href="#order-of-rules" title="Permanent link">#</a></h2>
<p>Note that Grist applies the rules in order. Styles applied by later rules will override those applied by earlier rules.</p>
<p>Note that Grist applies the rules in order from top to bottom. Styles applied by rules that appear later in the list will override those applied by rules earlier in the list. To change the order of the rules, hover over a rule to reveal a drag handle, then click and drag the handle to move the rule to its new position.</p>
<p>What would happen if we swapped the last two rules in the example above?</p>
<p><img alt="Conditional rules order" src="../images/columns/conditional-rules-order.PNG" /></p>
<p>Notice that Gen Hamamoto, who has 0 champion dogs, is not highlighted in brown. This is because after applying the second conditional style, <code class="formula">$Number_of_Champions == 0</code>, Grist applied the third, <code class="formula">$Number_of_Champions &lt;= 2</code>, which applies to Gen Hamamoto as well and shades him blue.</p>
<p>Notice that Gen Hamamoto, who has 0 champion dogs, is not highlighted in brown. This is because after applying the second conditional style, <code class="formula">$Number_of_Champions == 0</code>, Grist applied the third, <code class="formula">$Number_of_Champions &lt;= 2</code>, which applies to Gen Hamamoto as well and shades him blue. When we change the order of the rules so that the second and third conditional styles switch positions, Gen Hamamoto will be highlighted in brown.</p>
<p class="screenshot-half"><img alt="Reorder conditional rules" src="../images/columns/reorder-conditional-rules.gif" /></p>

<br>
</div>
Expand Down
Binary file added fr/images/columns/reorder-conditional-rules.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion fr/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1087,5 +1087,5 @@ <h2 id="contactez-nous">Contactez-nous<a class="headerlink" href="#contactez-nou
</html>
<!--
MkDocs version : 1.5.3
Build Date UTC : 2024-10-16 13:07:19.074505+00:00
Build Date UTC : 2024-10-24 15:57:04.905104+00:00
-->
Loading

0 comments on commit f59a448

Please sign in to comment.