Breaking change in 8.3 editable grid in the Infor CRM web client

If you have an editable grid with a Custom Format Function in a version before 8.3 the function signature looked like this:

 ,formatter: (function () {
        var cache = {};
        return function (value, inRowIndex, cell) {
            var item = cell.grid.getItem(inRowIndex);
                var fieldName = cell.grid.store.getValue(item, "FieldName").toUpperCase();

Now in 8.3, the format function needs to look like this:

,formatter: function (value, item) {
            var cache = {};
                var fieldName = this.field.toUpperCase();

If you try to use the pre 8.3 code in an 8.3 system the editable grid will not display.

Come on Infor.

Want content like this delivered to your inbox? Sign up for our newsletter!
ABOUT THE AUTHOR

Kris Halsrud

Kris Halsrud is a Senior Analyst / Developer for Customer FX Corporation.

Submit a Comment

Your email address will not be published. Required fields are marked *