cancel
Showing results for 
Search instead for 
Did you mean: 

Editable DataTable Issue on List Picker

Angelo_Ab
Explorer
0 Kudos
166

Hi,

we have an issue using Editable Data Table.

Changing a field value the values of others fields / list picker get resetted.

See this video:

DataTable Issue.gif

Code of the list picker inside the Data Table object:

{
    "DisplayType": "Text",
    "EditType": "List",
    "NumberOfLines": 1,
    "TextAlignment": "Left",
    "ListPicker": {
        "PickerItems": {
            "Target": {
                "Service": "/App/Services/ServiceV2.service",
                "EntitySet": "PosTypeVHSet",
                "ServerSidePaging": true
            },
            "DisplayValue": "{PosType} {Description}",
            "ReturnValue": "{PosType}"
        },
        "Value": "{TypePos}"
    }
},

Another minor issue is that the OnPress event of the DataTable works only when Data Table has EditMode = 'None'. For example if I click on a not editable cell the OnPress event is not triggered. Instead, if I set DataTable EditMode to 'None', the OnPress event is triggered.

I'm using latest MDK V24.7.3 and I work on Android 14.0

Am I doing something wrong ?

Thank you.

 

Accepted Solutions (0)

Answers (1)

Answers (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

When the Data Table is in edit mode the Data Table OnPress does not apply.  It only applies when the table is not editable.  That is an expected behavior.

Angelo_Ab
Explorer
0 Kudos

@bill_froelich ok thanks.

what about the reset field problem as I showed ?

Am I doing something wrong ?