Announcement

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

    #31
    Hi Isomorphic,

    regarding the black selection from #23 I can see that this does no longer happen with SNAPSHOT_v13.1d_2024-06-20. So whatever you did in #24 seemed to have worked.
    I can also see that the ListGrid filter-icon and the SetFilterItem expand-icon are SVGs now.

    Best regards
    Blama

    Comment


      #32
      hi Blama,

      Following up on a couple of points:

      1) on sorting in particular, SetFilterItems already provide several ways to do it - directly with item.sortField/sortDirection or initialSort, or those same attributes on the "pickList" autoChild-grid via item.pickListProperties - or ...

      2) via item.optionFilterContext, using sortBy - in items with pickers, including SetFilterItem, item.optionFilterContext is effectively a shorthand for item.pickListProperties.dataProperties.requestProperties, so is appropriate for your question in #29

      Comment


        #33
        Hi Isomorphic,

        thanks for the hint on optionFilterContext, which is exactly the shortcut needed. One can sort there and change other fetch params or use sortField, if it is just about sorting.

        "(5) Drag selection still possible, but on the opening caret only, not in the text anymore" which I mentioned in #17 seems to be fixed as well, either because of icon change to SVG or because you changed some code.

        I think that now all design-points are either addressed or you decided to keep them as they are, so this thread should be finished for now. Only samples are missing now.

        Thank you & Best regards
        Blama

        Comment


          #34
          Hello, I just noticed that on handset the SetFilterItem doesn’t open full screen, is it intended to be like that?

          Comment


            #35
            hi Claudio - SetFilterItem / MultiPickerItem don't implement the normal "PickList" interface, and don't currently support pickListPlacement.

            We'll take a look at what's involved and get back to you.

            Comment


              #36
              Apologies for the silence on this one - we'll be adding picker-placement for mobile / responsive design in the next few days and will update here when it's in.

              Comment


                #37
                SmartClient Version: SNAPSHOT_v13.1d_2024-08-29/AllModules Development Only (built 2024-08-29)

                Hello, I just noticed that with this test case in the fetchOperationFS sample:
                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
                });
                now there's an error when you open the category filter:

                Code:
                *11:16:21.559:XRP5:WARN:RPCManager:Server returned FAILURE with no error message performing operation 'supplyItem_fetch'.

                Comment


                  #38
                  And actually I've got the same error in my application:

                  Code:
                  WARN RequestContext dsRequest.execute() failed:
                  java.lang.NullPointerException: null
                      at com.isomorphic.sql.SQLSelectClause.getSQLString(SQLSelectClause.java:107) ~[isomorphic-sql-13.1-d20240829.jar:?]
                      at com.isomorphic.sql.SQLDataSource.getClausesContext(SQLDataSource.java:4231) ~[isomorphic-sql-13.1-d20240829.jar:?]
                      at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1839) ~[isomorphic-sql-13.1-d20240829.jar:?]
                      at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1739) ~[isomorphic-sql-13.1-d20240829.jar:?]
                      at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:509) ~[isomorphic-sql-13.1-d20240829.jar:?]
                      at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:453) ~[isomorphic-sql-13.1-d20240829.jar:?]
                      at com.isomorphic.datasource.DataSource.execute(DataSource.java:3234) ~[isomorphic-core-rpc-13.1-d20240829.jar:?]
                      at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:658) ~[isomorphic-core-rpc-13.1-d20240829.jar:?]
                      at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:555) ~[isomorphic-core-rpc-13.1-d20240829.jar:?]
                      at com.isomorphic.application.AppBase.execute(AppBase.java:498) ~[isomorphic-core-rpc-13.1-d20240829.jar:?]
                      at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:4366) ~[isomorphic-core-rpc-13.1-d20240829.jar:?]

                  Comment


                    #39
                    This has been fixed and will be available for download in the nightly build tomorrow (September 5).

                    Comment


                      #40
                      SmartClient Version: SNAPSHOT_v13.1d_2024-09-06/AllModules Development Only (built 2024-09-06)

                      I see the error is fixed, thanks.

                      Comment

                      Working...
                      X