Comments (10)
I'd like to also express that this would be useful.
from simplexlsxgen.
I've made my own little mod for red color, as it was the only I needed. But it should be fairly easy to add more predefined colors.
from simplexlsxgen.
Is there any chance you'd be willing to share what you've got so far on that front?
from simplexlsxgen.
I can, but it's just a little hack for a single color.
Adding other predefined colors shouldn't be hard. However, as simplexlsxgen is coded, it would be hard to add custom colors. It would need an overhaul in the styles xml building in order to make it possible.
@shuchkin are you interested on this?
from simplexlsxgen.
class MyXLSXGen extends SimpleXLSXGen {}
from simplexlsxgen.
class MyXLSXGen extends SimpleXLSXGen {}
Where can we find de class MyXLSXGen ?
from simplexlsxgen.
:)
you have to write this class
from simplexlsxgen.
current supported formatting
https://github.com/shuchkin/simplexlsxgen#formatting
from simplexlsxgen.
Have added text color capability in my fork and submitted a pull request for the same.
https://github.com/mrjemson/simplexlsxgen
Have done some basic testing with adding fill options also and will add this at a future date.
NB: Great library @shuchkin very elegant.
from simplexlsxgen.
Have also now added background color fill options into above fork.
from simplexlsxgen.
Related Issues (20)
- String is passed to date2excel HOT 1
- Can not get formats to work HOT 1
- I should make a drop-down list with Data Validation in Excel.
- Adding Line Break in Cell HOT 7
- Adding a picture HOT 1
- downloadAs or saveAs -> corrupted file HOT 5
- The autoresize of columns doesn't work properly when the first row has a different (bigger) font size than the rest of the rows HOT 4
- Feature Request: Append to Excel File HOT 1
- Hyperlink to internal file HOT 2
- xlsx defect HOT 5
- Replacement in cell2coord will not work HOT 4
- Applying style to a raw value HOT 3
- http2 HOT 3
- SimpleXLSXGen generated spreadsheet can not be parsed by SimpleXLSX HOT 1
- Backspace character corrupts output file. HOT 1
- The presence of a <b></b> tag makes the all entire text bold, not just the text inside this tag. HOT 1
- Apply number format in cell which contains formula HOT 2
- Support specific href link targets HOT 2
- SimpleXLSXGen generate a file that can't be open by Excel HOT 2
- Text Rotation/Orientation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simplexlsxgen.