Polymer Google Sheets integration CSS retention -
i'm using google polymer google sheets integration. (i want specific cells google sheet appear on webpage. need them preserve css (bold, color, background-color, etc). know how website display css google sheet?
just send along cells contents info cells format, , you'll have format them in html.
the format methods - (all applicable in same range getvalues()):
getnumberformats(); getverticalalignments(); gethorizontalalignments(); getfontweights(); getfontstyle(); getfontsizes(); getfontlines(); getfontfamilies(); getfontcolors(); getbackgrounds(); all return double arrays, have passed html, , treated in it.
Comments
Post a Comment