Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

fieldPickerWindow opening position

$
0
0
Hi,

Is there any way to control where a ListGrid opens it's fieldPickerWindow when the user clicks on the ListGrid's "Columns..." menu item? Even if I subclass the autoChild fieldPickerWindow and set properties for left and top, the fieldPickerWindow always opens in the middle of the page. I want to control it's opening co-ordinates.

Code:

var listGridMain = isc.ListGrid.create({
              fieldPickerWindowDefaults: {
              _constructor: isc.Insights_FieldPickerWindow
            },
            fieldPickerWindowProperties: {
              left: 3,
              top: 10,
              autoCenter: false
            },
.
.
.
});


isc.ClassFactory.defineClass("Insights_FieldPickerWindow", isc.FieldPickerWindow).addProperties({
    initWidget: function(){
        this.Super("initWidget");
    },
    title: "Select Fields"
});

The version of SmartClient I'm using is: SNAPSHOT_v9.1d_2014-01-08/Enterprise Deployment (2014-01-08)

Chrome version: Version 33.0.1750.117 beta-m


Thanks
Gavin

Viewing all articles
Browse latest Browse all 4756

Trending Articles