Cell format Registry
Spreadsheet lets you store and compress duplicate format data using cellxfs registries
// Before cellXfs registry
// Cell data A1:
{
uf: {
backgroundColor: "green",
horizontalAlignment: "left"
},
ue: {
sv: "Cell with styleId",
},
fv: "Cell with styleId",
note: "Hello world, this is notes.",
},
// After cellXfs registry — `uf` becomes a StyleReference
{
uf: {
sid: "123",
},
ue: {
sv: "Cell with styleId",
},
fv: "Cell with styleId",
note: "Hello world, this is notes.",
},Usage
Last updated