Persisting cell background color

We want to persist the cell background color also.

    this._grid.xml.s_row = "Row";
    this._grid.xml.s_cell = "Cell";
    return this._grid.serialize();

This serialized xml string doesn’t have cells background color. Can anyone please help in persisting the cell background color?

You can set cell background color as userdata or as cell attribute and serialize it. Please find more information here … attributes