Announcement

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

    Set error in Listgridfield

    Hi there,

    I’ve got a problem when trying to set an error into a ListGridField - I can only see the error when entering the edit mode of the field, whereas with an earlier SC version, I could see it either way (which I believe should be the correct behavior).
    See here for an example with an older Version SmartClient_v111p_2018-06-15_Pro

    With a newer version like SmartClient_v111p_2018-09-18_Pro it looks like:


    Reproducible with
    Code:
    isc.VLayout.create({
        "ID": "rootLayout",
        "autoDraw": true,
        "members":
        [
            isc.ListGrid.create({
                "ID": "listGrid",
                "width": 300,
                "height": 150,
                "canEdit": true,
                "fields":
                [{
                        "name": "nameField",
                        "title": "Name",
                        "width": 200,
                        "canEdit": true,
                    }
                ],
                "data":
                [
                    {
                        "nameField": "Lydins L'Arachel"
                    }
                ]
            }),
            isc.Button.create({
                "ID": "newSubstituteButton",
                "width": 300,
                "click": function () {
                    listGrid.setFieldError(0, 0, "This is an error");
                },
                "title": "Set error into first ListGrid field"
            })
        ]});
    Best regards

    #2
    Just a quick followup,
    It's also reproducable in SmartClient_v111p_2018-09-26_Pro.
    Best regards

    Comment


      #3
      We see the issue and are investigating.

      Comment


        #4
        A fix has been made and will be available in builds starting on Oct 3.

        Comment

        Working...
        X