Resize the Lookup Popup in the Infor CRM Web Client

In the Infor CRM web client the lookup control’s popup dialog defaults to being something like 750px wide. Sometimes this may not be wide enough to incorporate a lookup whose grid contains a lot of columns. You can modify this behavior by extending the base SDataLookup widget.

In a previous post I talked about how to extend other widgets. Building of that methodology we can use the following code to modify the lookup popup dialog width and set it to 900px wide and a height of 600px.

function (
) {
    aspect.before(SDataLookup.prototype, 'showLookup', function () {            
        this.dialogWidth = 900;
        this.dialogHeight = 600;
    aspect.after(SDataLookup.prototype, 'showLookup', function() {[, '-Dialog'].join(''), 'min-width', '90%');[, '-Dialog'].join(''), 'min-height', '600px');[, '-Dialog'].join(''), 'left', '30px');

Kris Halsrud

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

Submit a Comment

Your email address will not be published.

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!

You have Successfully Subscribed!