Announcement

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

    New 13.1d feature MultiPickerItem and SetFilterItem

    Hi Isomorphic,

    I noticed MultiPickerItem and SetFilterItem by coincidence in the 13.1d docs and tried it - I think it's a great feature that has a lot of advantages to MultiComboBoxItem and multiple:true-SelectItem.
    Would you already like feedback on it, or is it too early for that?
    If so, could you add a sample for it to the showcase? That's easier than using it manually in existing samples.

    Thank you & Best regards
    Blama

    #2
    Hi Isomorphic,

    as there has been no answer for more than a month I'm wondering if you have seen this thread?

    Best regards
    Blama

    Comment


      #3
      Thanks for the bump - we'll definitely be adding a sample of SetFilterItem/MultiPickerItem, and we'll update here when we do.

      Comment


        #4
        Hi Isomorphic,

        could you add the samples, so that one can give feedback here?

        Thank you & Best regards
        Blama

        Comment


          #5
          +1 :)

          Comment


            #6
            Hi Isomorphic,

            could you add the samples, so that one can give feedback here?

            Thank you & Best regards
            Blama

            Comment


              #7
              Hi Blama, by the way, testing it seems simple as:

              Code:
              isc.ListGrid.create({
                  ID: "supplyList",
                  width:500, height:300, alternateRecordStyles:true,
                  dataSource: supplyItem,
                  fields:[
                      {name:"SKU"},
                      {name:"itemName"},
                      {name:"description"},
                      {name:"category", filterEditorType: "SetFilterItem"}
                  ],
                  autoFetchData: true,
                  showFilterEditor: true,
                  filterOnKeypress: true,
                  fetchDelay: 500
              });

              Comment


                #8
                Hi claudiobosticco,

                of course, but when I first tried it, it was nowhere ready designwise and I think Isomorphic is not ready for feedback yet, otherwise it would be in the samples.

                Best regards
                Blama

                Comment


                  #9
                  Blama I didn't tried it before, now seems pretty good:

                  Click image for larger version

Name:	2024-02-19 14.33.58.jpg
Views:	148
Size:	105.4 KB
ID:	271702
                  Attached Files

                  Comment


                    #10
                    SmartClient Version: SNAPSHOT_v13.1d_2024-03-19/AllModules Development Only (built 2024-03-19)


                    Hello Isomorphic, while trying SetFilterItem for a FormItem in a DynamicForm, I noticed that its height is reduced in respect to a SelectItem (on the right):

                    Click image for larger version

Name:	2024-03-20 17.56.22.jpg
Views:	139
Size:	26.5 KB
ID:	271912


                    Code:
                    // ---------------------------------------------------------------------------------------
                    // Remote Data Example
                    
                    isc.DynamicForm.create({
                        top: 25,
                        width: 500,
                        numCols: 4,
                        autoDraw: true,
                        fields: [
                            {name:"categoryName", title:"Category", editorType:"SetFilterItem",
                             optionDataSource:"supplyCategory", changed:"form.clearValue('itemName');"
                            },
                            {name: "itemName", title:"Item", editorType: "SelectItem",
                             optionDataSource:"supplyItem",
                             getPickListFilterCriteria : function () {
                                var category = this.form.getValue("categoryName");
                                return {category:category};
                             }
                            }
                        ]
                    });
                    Attached Files

                    Comment


                      #11
                      hi Claudio - SetFilterItem and MultiPickerItem weren't being scaled with density - we've fixed both for tomorrow's builds, dated March 21 or later.
                      Last edited by Isomorphic; 20 Mar 2024, 09:49.

                      Comment


                        #12
                        Thanks. Will it be supported to use it as searchForm of a grid? I'm trying it, but I see some inconsistent behaviour.

                        Comment


                          #13
                          Originally posted by claudiobosticco View Post
                          Thanks. Will it be supported to use it as searchForm of a grid? I'm trying it, but I see some inconsistent behaviour.
                          Actually in the showcase seems to work nicely, so I must check better in my application.

                          Comment


                            #14
                            SmartClient Version: SNAPSHOT_v13.1d_2024-03-22/Enterprise Deployment (built 2024-03-22)

                            Chrome on MacOS

                            while playing with a SearchForm with a SetFilterItem, used as a searchForm for a grid, I managed to get this error:

                            Code:
                            18:07:39.942:TMR9:WARN:Log:TypeError: Cannot read properties of null (reading 'getVisibleRows')
                            Stack from error.stack:
                                cons.eval(<no args: exited>) on[ListGrid ID:isc_ListGrid_1] @ [no file]:3:18
                                cons.refreshData(<no args: exited>) on[ListGrid ID:isc_ListGrid_1] @ ISC_Core.js:122978:28
                                null.<anonymous>(<no args: exited>) @ ISC_Grids.js:77695:14
                                cons.fireCallback(callback=>callback(), argNames=>null, args=>null, target=>null, catchErrors=>true) on [Class Timer] @ ISC_Core.js:7670:36
                                cons._fireTimeout(ID=>"_timeout2409", tmrID=>2428, delayedTmrID=>undef) on [Class Timer] @ ISC_Core.js:52116:10
                                null.<anonymous>() @ ISC_Core.js:52025:19
                            for now I don't know how to reproduce it, does the error alone says something to you?

                            Comment


                              #15
                              This looks like something that might have happened if the SetFilterItem was in the middle of some operation, and either the grid hosting it was destroyed, or the grid changed fields such that the SetFilterItem was no longer needed. Or some similar major upheaval happened, like hiding the entire FilterEditor.

                              Comment

                              Working...
                              X