Versions Compared

Key

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

...

Address and City columns of the grid can be fully customized, plus name replaced using a custom plugin. The example code of such a plugin:

Code Block
languagejs
var SampleCustomer = SampleCustomer || {};
SampleCustomer.Plugins = SampleCustomer.Plugins || {};

SampleCustomer.Plugins.manipulateSearchResults = async function(context) {
    debugger;
    context.customerSearchResults.setColumnHeaders(["foo", "bar"]);
    context.customerSearchResults.setRowData("b41a1595-e321-ec11-b6e6-6045bd8a1d39", "foo", ["bar", "qwe"]);
};

...