Update documentation with number format
This commit is contained in:
parent
76017f0949
commit
9bdb027d31
@ -117,7 +117,7 @@ $reader->setShouldPreserveEmptyRows(true);
|
|||||||
For fonts and alignments, {{ site.spout_html }} does not support all the possible formatting options yet. But you can find the most important ones:
|
For fonts and alignments, {{ site.spout_html }} does not support all the possible formatting options yet. But you can find the most important ones:
|
||||||
|
|
||||||
| Category | Property | API
|
| Category | Property | API
|
||||||
|:----------|:---------------|:--------------------------------------
|
|:---------------------|:---------------|:--------------------------------------
|
||||||
| Font | Bold | `StyleBuilder::setFontBold()`
|
| Font | Bold | `StyleBuilder::setFontBold()`
|
||||||
| | Italic | `StyleBuilder::setFontItalic()`
|
| | Italic | `StyleBuilder::setFontItalic()`
|
||||||
| | Underline | `StyleBuilder::setFontUnderline()`
|
| | Underline | `StyleBuilder::setFontUnderline()`
|
||||||
@ -127,7 +127,8 @@ For fonts and alignments, {{ site.spout_html }} does not support all the possibl
|
|||||||
| | Font color | `StyleBuilder::setFontColor(Color::BLUE)`<br>`StyleBuilder::setFontColor(Color::rgb(0, 128, 255))`
|
| | Font color | `StyleBuilder::setFontColor(Color::BLUE)`<br>`StyleBuilder::setFontColor(Color::rgb(0, 128, 255))`
|
||||||
| Alignment | Cell alignment | `StyleBuilder::setCellAlignment(CellAlignment::CENTER)`
|
| Alignment | Cell alignment | `StyleBuilder::setCellAlignment(CellAlignment::CENTER)`
|
||||||
| | Wrap text | `StyleBuilder::setShouldWrapText(true)`
|
| | Wrap text | `StyleBuilder::setShouldWrapText(true)`
|
||||||
|
| Format _(XLSX only)_ | Number format | `StyleBuilder::setFormat('0.000')`
|
||||||
|
| | Date format | `StyleBuilder::setFormat('m/d/yy h:mm')`
|
||||||
|
|
||||||
### Styling rows
|
### Styling rows
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user