Announcement

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

    listGridField.valueIconClick not called

    SmartClient Version: v10.0p_2014-11-04/EVAL Development Only (expires 2015.01.03_18.46.24) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

    Safari, Chrome on OSX
    Please modify the #columnOrder sample in the showcase like this:
    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width: 500, height: 224, alternateRecordStyles: true,
        data: countryData,
        getValueIcon: function (field, value, record) {
            if (field.name === 'countryCode') {
                return "flags/16/" + value + ".png"
            } else {
                return null;
            }
        },
        fields: [
            { name: "countryCode", type: "icon", title: "Flag", width: 40, align: "center", 
                showValueIconOnly: true,
                valueIconClick: function (viewer, record, recordNum, field, rawValue, editor) {
                    isc.logEcho('click')
                }
            },
            {name: "countryName", title: "Country"},
            {name: "capital", title: "Capital", showIf: "false"},
            {name: "continent", title: "Continent"}
        ]
    })
    clicking on the icons doesn't call valueIconClick

    #2
    SmartClient Version: v9.1p_2014-10-29/PowerEdition Development Only (built 2014-10-29)

    9.1 also isn't working. Please note that with 9.1 the cursor doesn't get the 'hand' appearance.

    Comment


      #3
      This feature was not available in 9.1.
      However we do see the bug in 10.0 and have made a change to address the problem. Please try the next nightly build dated Nov 7 or above

      Regards
      Isomorphic Software

      Comment


        #4
        Originally posted by Isomorphic View Post
        This feature was not available in 9.1.
        Oh sorry, I thought it was a feature I never saw before, but actually it's a new feature!
        Originally posted by Isomorphic View Post
        However we do see the bug in 10.0 and have made a change to address the problem. Please try the next nightly build dated Nov 7 or above
        SmartClient Version: v10.0p_2014-11-09/EVAL Development Only (expires 2015.01.08_07.51.51) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

        verified, thank you very much

        Comment

        Working...
        X