Skip to content

Commit 0fe14cf

Browse files
authored
Update recipes.md
1 parent 4b3b0d4 commit 0fe14cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/topics/recipes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -925,6 +925,9 @@ getStyle('A1:M500'), rather than styling the cells individually in a
925925
loop. This is much faster compared to looping through cells and styling
926926
them individually.
927927

928+
**Tip** If you are styling entire row(s) or column(s), e.g. getStyle('A:A'), it is recommended to use applyFromArray as described below rather than setting the styles individually as described above.
929+
Also, starting with release 3.9.0, you should use getRowStyle or getColumnStyle to get the style for an entire row or column.
930+
928931
There is also an alternative manner to set styles. The following code
929932
sets a cell's style to font bold, alignment right, top border thin and a
930933
gradient fill:

0 commit comments

Comments
 (0)