Announcement

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

    SelectItem using optionDataSource and groupByField does not preserve selection

    If I put the following code

    Code:
    isc.DynamicForm.create({
        ID: "testForm",
        width: 500,
        fields: [
            {
                name: "multipleSelect", title: "Select items", editorType: "SelectItem",
                optionDataSource: "supplyItem",
                optionCriteria: {units:["Pkt"]},
    
                displayField: "SKU", valueField: "itemID",
                pickListWidth: 400,
                pickListFields: [
                    {name: "SKU"},
                    {name: "itemName"},
                    {name: "units"},
                    {name: "category"}
    
                ],
                multiple: true,
                pickListProperties: {
    groupByField:"category",
                }
            }
        ]
    });
    into here:
    https://www.smartclient.com/smartcli...InlineControls

    then when I select an option, close the picklist, and then open the picklist again, the original value is lost. I think it's the groupBy operation that's not preserving the value. Is there an easy way to re-set the value after the groupBy?

    What I'd like is a multiple:true tree-like select item.


    Click image for larger version

Name:	lostselection.gif
Views:	76
Size:	139.8 KB
ID:	254921

    #2
    We'll take a look and update here when we have more information.

    Comment

    Working...
    X