Go Back   SmartClient Forums > Technical Q&A
Wiki Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 5th Apr 2012, 05:52
claudiobosticco claudiobosticco is offline
Registered Developer
 
Join Date: Sep 2008
Posts: 350
Default 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; 5th Apr 2012 at 06:00.. Reason: the sample was not correct
Reply With Quote
  #2  
Old 5th Apr 2012, 06:36
claudiobosticco claudiobosticco is offline
Registered Developer
 
Join Date: Sep 2008
Posts: 350
Default

another problem: if I set canEdit:false on the form, the SelectItem is still showing the picklist when clicked
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
SelectItem with MultipleSelect issue..!!! spandanak Smart GWT Technical Q&A 1 27th Oct 2011 12:12
resizedHandler called multiple times csillag Smart GWT Technical Q&A 12 4th Mar 2011 23:04
SelectItem and IconClickHandler - event called on dropdown icon carchrae Smart GWT Technical Q&A 4 4th Jan 2011 10:22
ChangedHandler not called on SelectItem when value changed programatically farrukh_najmi Smart GWT Technical Q&A 7 17th Feb 2010 12:48
When is dataArrived called? wallytax Technical Q&A 12 11th Feb 2010 01:05

© 2010,2011 Isomorphic Software. All Rights Reserved