Update Font Settings From Client Side

Contents
[ ]

Aspose.Cells GridWeb now supports changing font settings from the client side. For this, the API provides the following functions:

  • updateCellFontStyle: Params – r/i/b/ib for regular/italic/bold/italic && bold
  • updateCellFontSize: Params – fontsize, etc. ‘12pt’
  • updateCellFontName: Params – fontname, etc. ‘System’
  • updateCellFontColor: Params – none/u/l/ul for none/underline/strikeout/underline && strikeout
  • updateCellFontLine: Params – HTML color like #aa22ee or well‑known color name like green, red, …
  • updateCellBackgroundColor: Params – HTML color like #aa22ee or well‑known color name like green, red, …

The following code snippet demonstrates changing font settings from the client side in GridWeb.

Sample Code