I am unable to add a formatter to a column in the new UI. I cannot do personalization via conditional style since I need only a partial data from the column to generate a url. Below code works in the classic UI:
this.editCellFormatter = function (row, cell, value, columnDef, dataContext,api) {
return "<a href=' ">https://xxxx" + dataContext["C1"].substr(dataContext["C1"].length - 6) + "*%20order_by%3Acreated%20sort%3Adesc' + "</a>";
};
</code></div>
</div>
</div>
<div><code>this.controller.GetGrid().getColumns()[0].formatters.push(this.editCellFormatter).app;
this.controller.GetGrid().reinit();
Thanks,
Supriya