Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Commit

Permalink
Added Column Formatters
Browse files Browse the repository at this point in the history
  • Loading branch information
KartikSuba committed Sep 9, 2016
1 parent 0c7308e commit c4e4c9d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,19 +129,21 @@ Debugging client side code in the vaadin-excel-exporter-demo project:

### Version 1.0.1
- Initial release

### Version 1.0.2
- Added Getters for extension

### Version 1.0.3
- Added Column Formatter Logic

- Also developed three formatters as built in formatters namely
-- SuffixColumnFormatter(String suffix) // can add suffix to the container/model value such as $, %, kg etc...
-- PrefixColumnFormatter(String prefix // can add prefix to the container/model value
-- BooleanColumnFormatter(String trueValue, String falseValue) // Give meaningful alias to true and false like Yes/No, Active/De-Active etc.. Requires the column to be also set withBooleanFormattingProperties
-SuffixColumnFormatter(String suffix) // can add suffix to the container/model value such as $, %, kg etc...
- PrefixColumnFormatter(String prefix // can add prefix to the container/model value
- BooleanColumnFormatter(String trueValue, String falseValue) // Give meaningful alias to true and false like Yes/No, Active/De-Active etc.. Requires the column to be also set withBooleanFormattingProperties

Note: For columns mentioned in withFloatFormattingProperties and withIntegerFormattingProperties, the above formatting gets applied after the Integer and Float formatting is performed on the container/model value.
Note: For columns mentioned in withFloatFormattingProperties and withIntegerFormattingProperties, the above formatting gets applied after the Integer and Float formatting is performed on the container/model value.

- Updated the Demo Project to show case the same.
- Updated the Demo Project to show case the same.


## Roadmap
Expand Down

0 comments on commit c4e4c9d

Please sign in to comment.