Announcement

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

    Regarding showPickListOnKeypress property in list grid

    Hi Isomorphic,

    I have a listgrid with a field of type comboBox. In that field i have set the property as showPickListOnKeypress: false. This is not working. The pick list is still coming. But when i use this same field in a Dynamic Form, it is working fine.

    Code:
    isc.ListGrid.create({
        ID: "countryList",canEdit: true,
        width:500, height:224, alternateRecordStyles:true, showAllRecords:true,
        data: countryData,
        fields:[
            {name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png"},
            {name:"countryName", title:"Country"},
            {name:"capital", title:"Capital", showIf:"false"},
            {name:"continent", title:"Continent"},
            {name: "bugStatus", title: "Bug Status", 
            type: "comboBox",showPickListOnKeypress: false,
            valueMap : {
                "new" : "New",
                "active" : "Active",
                "revisit" : "Revisit",
                "fixed" : "Fixed",
                "delivered" : "Delivered",
                "resolved" : "Resolved",
                "reopened" : "Reopened"
            }}
        ],
        canReorderFields: true
    })
    
    
    isc.IButton.create({
        left:0, top:240,
        title:"Show Capitals",
        click:"countryList.showField('capital')"
    })
    
    isc.IButton.create({
        left:120, top:240,
        title:"Hide Capitals",
        click:"countryList.hideField('capital')"
    })
    In the above code, i have the comboBox field as bugStatus. This same field in working fine in Dynamic form i.e. The pick list is not coming which i want.

    Please help me.

    Thanks in advance.

    #2
    Hello,..! probably a very old post but still if someone searching,.. i think the solution is putting the showPickListOnKeypress: false -> under editorProperties : {} whenever you are in a listgrid
    editorProperties : { showPickListOnKeypress: false }

    worked for me

    best regards thaddäus

    Comment

    Working...
    X