Announcement

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

    Invalid rendering of filter icon with vertical grid fitting

    Hi,

    Using a ListGrid with width: "100%" and autoFitData: "vertical" breaks rendering of filter icon, which gets placed outside of its designated area:


    To reproduce go to https://www.smartclient.com/smartcli...ase/?id=filter and add these parameters to grid:
    Code:
        autoFitData: "vertical",
        width: "100%"
    SmartClient version: v11.1p_2018-07-21/AllModules Development Only, v12.0p_2018-07-21/AllModules Development Only
    Browser: Firefox 61, Chrome 67

    #2
    Any chance of fixing it during this week? This bug blocks us from enabling a functionality needed by our customer.

    Comment


      #3
      We are reproducing the problem and have a developer taking a look.
      We'll follow up when we have a solution.

      Comment


        #4
        This issue should be resolved with today's nightly builds (July 31) in branches 6.1, 12.0 and 12.1

        Regards
        Isomorphic Software

        Comment


          #5
          Thanks, it's much better now, but there is still one issue remaining.

          With this grid:
          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", width:60},
                  {name:"capital", title:"Capital", width:60},
                  {name:"continent", title:"Continent", width:60}
              ],
              autoFetchData: true,
              showFilterEditor: true,
              autoFitData: "vertical",
              width: "100%"
          })
          when I reduce the number of visible rows, causing scrollbar to disappear (eg. by filtering Country = "x"), sorterButton disappears along with scrollbar. That button should be always visible.

          Comment


            #6
            This is actually as designed, though we agree it could be better documented. (We'll have our design team review that)
            Regardless you can force the sorter to stick around by setting the showSortArrow property to "both"

            Comment


              #7
              Thanks

              Comment

              Working...
              X