ajoyce-sim / SummitReports

Web reports for Summit - Initially for underwriting
MIT License
0 stars 0 forks source link

UW - Create a universal cell formatting object. #10

Open ajoyce-sim opened 4 years ago

ajoyce-sim commented 4 years ago

Currently, when you set a cells value you can also call a method (.setCellStyle) that set format, borders etc. If possible I’d like to create a function (object?) that works as follows:

.setCellStyle(fnx(a,b,c)) where fnx is a function and the parameters are as follows: a – Int – 1: full black border; 0: No border. We may add more options later b – String – format (i.e. #,##0.00 or 0.00%, etc.) c – Int – 1: Bold; 0: No format. We may add more options later.

Let me know what you think.

rvegajr commented 4 years ago

This has been completed... :)