Announcement

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

    Problem with ListGridField "icon" type in 7.0 RC

    I add a field of type "icon" on ListGrid modifying "/smartclientSDK/isomorphic/system/reference/SmartClient_Explorer.html#imageType" as in the following code:

    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:200, height:224, alternateRecordStyles:true, 
        data: countryData,
    showFilterEditor: true,
        fields:[
            {name:"countryCode", title:"Flag", width:50,
                type: "image",
                imageURLPrefix: "flags/16/",
                imageURLSuffix: ".png"
            },
            {name:"countryName", title:"Country"},
    {name:"test", title:"test", canFilter: false, type:"icon", width:40, cellIcon:"flags/16/US.png"},
    
        ]
    })
    note that I use cellIcon and not icon to specify src of same image that I want show in all record.
    As specified in documentation:
    "Unless setting field.icon, setting field.cellIcon will not show an icon in the header" the header don't have icon.

    But setting the field with "canFilter: false" shows the icon on empty filter space over the header.

    #2
    Please report this as bug

    Comment


      #3
      Marked as a bug. You can use field.defaultFilterValue "" to get rid of the problem.

      Comment


        #4
        The problem is still present in RC2, the workaround doesen't work for me.

        Comment

        Working...
        X