Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SelectItem and IE9

    Issue occurring with SmartClient 8.2 and IE9
    No issue with IE8 and Firefox.

    With IE9 our SelectItem fields are not working.
    No error encountered but the data is also not presented when the select is utilized.

    Whats different with a SelectItem in IE9 and IE8?

    Following are examples of how we are setting up these fields:

    fields : [
    {
    type : 'SelectItem',
    name : 'clientName',
    title : 'ClientDV',
    width : '200',
    defaultToFirstOption : true,
    allowEmptyValue : false,
    required : true,
    changed : 'form.clientChanged()'
    },
    {
    type : 'SelectItem',
    name : 'templateCBItem',
    title : 'TemplateDV',
    allowEmptyValue : false,
    width : '200',
    changed : 'form.templateChanged()',
    defaultToFirstOption : false,
    showHintInField : true,
    startRow : true,
    endRow : false,
    required : true,
    showIf : function(item, value, form, values) {
    return form.templateExpanded;
    }
    },


    Following is an example of how the field is populated:
    The data is populated as expected. But the SelectItem does not expand?
    isc.DataSource.get(TEMPLATEDS).fetchData(clientid, function(dsResponse, data, dsRequest) {
    window[TEMPLATERS].localData = data;
    window[TEMPLATERS].allRows = data;
    window[TEMPLATERS].dataChanged();
    window[TEMPLATERS].registerItem(that.getField('templateCBItem'));
    that.delayCall('focusInItem', [ 'templateCBItem' ], 300);
    }, {
    operationId : '0'
    });
    },
Working...
X