Announcement

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

    12.0p+ MultiComboBoxItem in ListGrid filterRow design broken

    Hi Isomorphic,

    answering in this thread I noticed that MultiComboBoxItem design is broken in a ListGrid filterRow.
    Because of the horizonal space constraints this does not make sense anyways, but until MultiPickerItem and SetFilterItem it is the only option if you want text-entry and multiple selected entries.

    Please see here (12.0p, 12.1p, 13.0p, 13.1d, v13.0p_2023-11-20):

    filterEditorType:"MultiComboBoxItem" added:
    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:500, height:300, alternateRecordStyles:true,
        dataSource: worldDS,
        fields:[
            {name:"countryCode", title:"Code", width:60},
            {name:"countryName", title:"Country"},
            {name:"capital", title:"Capital"},
            {name:"continent", title:"Continent", filterEditorType:"MultiComboBoxItem"}
        ],
        autoFetchData: true,
        showFilterEditor: true
    })
    As you can see it looks strange at start and right now you can only select one entry. But even with width:800 you get a problem eventually.

    Best regards
    Blama


    Click image for larger version  Name:	MultiComboBoxItem.PNG Views:	0 Size:	15.6 KB ID:	271354

    #2
    Hi Blama,

    This control is definitely not intended to be used inside the FilterEditor. For anyone on the previous version where they don't have SetFilterItem or other recently added options, the best thing would be to create a simple FormItem subclass that uses a FormItemIcon to launch a Window, where inside that Window either MultiComboBoxItem or a ListGrid-based filtering interface could be used.

    Comment

    Working...
    X