Menu
Download Free Trial
Table of contents

customizeCell

customizeCell(customizeCellFunction:Function)

[starting from version: 2.306]

This API call allows customizing of separate cells. For example, you can add links, custom styles or formatting.

Parameters

customizeCellFunction function or null in case you do not need to change anything. Data passed to the customizeCellFunction:

  • html – String containing HTML.
  • dataCell Object which contains information about the cell.

customizeCellFunction should return the string with updated HTML.

Example

flexmonster.customizeCell(
	function (html, data) 
	{
		// change html
		return html;
	}
);

This example illustrates how to add links to some cells. Click Clear Customizing button to remove customization and click Start Customizing to add it back.