Announcement

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

    ListGrid.setEditValue and multiple changes

    SmartClient Version: v13.1p_2024-12-05/AllModules Development Only (built 2024-12-05)

    Hello, please try this sample https://www-demos.smartclient.com/sm.../?id=editByRow modified like this:

    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width: 550, height: 224,
        // use server-side dataSource so edits are retained across page transitions
        dataSource: countryDS,
        // display a subset of fields from the datasource
        fields: [
            {
                name: "countryCode",
                title: "Flag",
                width: 40,
                type: "image",
                imageURLPrefix: "flags/24/",
                imageURLSuffix: ".png",
                canEdit: false
            },
            {name: "countryName", canEdit: false},
            {
                name: "continent", changed: function (form, item, value) {
                    isc.logEcho(value)
                    item.grid.setEditValue(item.rowNum, "countryName", value);
                }
            },
            {name: "member_g8"},
            {name: "population"},
            {name: "independence"}
        ],
        autoFetchData: true,
        canEdit: true,
        editEvent: "click"
    })
    Edit a record and change the continent value; you'll see the countryName field update (but don't finish editing yet).

    Next, change the continent to another value (again, without finishing the edit).
    This time, the countryName field will not update.

    Finally, change the continent a third time.
    From this point on, you'll notice that the countryName field updates, but not to the latest value - it updates to the value before the most recent change.

    #2
    I still see this issue in SmartClient Version: v13.1p_2025-01-11/Enterprise Development Only (built 2025-01-11)

    Comment


      #3
      SmartClient Version: v13.1p_2025-04-30/AllModules Development Only (built 2025-04-30)

      Hello, this issue is still there

      Comment


        #4
        SmartClient Version: v13.1p_2025-10-11/AllModules Development Only (built 2025-10-11)

        Hi, just bumping this thread as I still see the issue.

        Comment


          #5
          A change has been made to address this issue. This change has been applied to SmartClient versions 13.1 and above and will be present in nightly builds going forward (October 18 or above)

          Please let us know if this problem does not appear to be resolved for you

          Regards
          Isomorphic Software

          Comment


            #6
            A correction: The fix is present in 14.1 and above but introduced some problems in 13.1. We've temporarily backed it out to resolve these issues. We'll follow up when it is available on that branch

            Regards
            Isomorphic Software

            Comment


              #7
              This issue should now be resolved. Please try the next nightly build, branches 13.1 and above, dated Oct 22 or above

              Regards
              Isomorphic Software

              Comment


                #8
                Hi, thanks, but I don’t see any new builds - the last one is from 2025-10-18.

                Comment


                  #9
                  SmartClient Version: v13.1p_2025-10-26/AllModules Development Only (built 2025-10-26)

                  I see it's working now, thank you very much

                  Comment

                  Working...
                  X