Announcement

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

    8.3d: dataArrived on SelectItem doesn't get called

    SNAPSHOT_v8.3d_2012-04-04/PowerEdition

    IE8, chrome 18

    you can try on a sample like SmartClient_Explorer.html#listComboBox
    modified like this:
    Code:
    isc.DynamicForm.create({  
        ID:"mySampleForm",
        width: 500,
        numCols: 4,
        fields : [{
            name: "bugStatus", title: "Bug Status", 
            editorType: "comboBox",
            valueMap : {
                "new" : "New",
                "active" : "Active",
                "revisit" : "Revisit",
                "fixed" : "Fixed",
                "delivered" : "Delivered",
                "resolved" : "Resolved",
                "reopened" : "Reopened"
            }
        },{
            name: "itemName", title: "Item Name", editorType: "SelectItem", 
            optionDataSource: "supplyItem", pickListWidth: 250,
            dataArrived:function(startRow, endRow, data) {
                    isc.logEcho(data, 'data arrived itemName')
                }
        }]
    });
    then executing, in the developer console:
    mySampleForm.getItem('itemName').fetchData()
    fetches data, but dataArrived isn't called.
    Last edited by claudiobosticco; 5 Apr 2012, 06:00. Reason: the sample was not correct

    #2
    another problem: if I set canEdit:false on the form, the SelectItem is still showing the picklist when clicked

    Comment

    Working...
    X