Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The method will be called just before the data is about to be displayed, allowing the cells to be changed, new rows and columns to be added, and sorting to be performed.

Expand
titleExample
Code Block
languagejs
titleExample
postProcessData: function (payload) {
	payload.labelsX.sort();
	payload.matrix[0][1] = 1;
	payload.matrix.push([1, 2, 3, 4]);	
	return payload;
},