Announcement

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

    ListGrid leaveScrollbarGap doesn't work with vertical autoFitData

    SmartClient 10.0 (v10.0p_2015-09-24/PowerEdition)

    When I enable leaveScrollbarGap in a ListGrid that has vertical autofit, then vertical scrollbar gap isn't present - columns take up entire available space. I expect vertical scrollbar gap to be present, along with respective header menu button that resides over vertical scrollbar.

    Example: change ListGrid in SmartClient_Explorer.html#autofitRows to:
    Code:
    leaveScrollbarGap: true,
    autoFitMaxRecords: 8
    Then, switch between data set sizes - with 5 rows the gap is not present.

    Is this a bug, or can I get this gap to appear in some other way?

    Additional question: can I set a minimum height for ListGrid with vertical autofit? I would like it to have a height of one or two records when it's empty.
    Last edited by Crack; 2 Oct 2015, 01:57.

    #2
    Anything? Is this a bug or am I doing something wrong?

    Comment


      #3
      Issue is still present in recent builds: SmartClient Version: v10.0p_2015-10-19/PowerEdition Development Only (built 2015-10-19)

      Please tell me at least whether it should ignore leaveScrollbarGap in this situation, or it is a bug that you don't want to fix.

      Comment


        #4
        We do see the behavior. The docs don't make a statement one way or another about whether this property still applies when autofitting is active. Right now, we do not plan to change this.

        Comment

        Working...
        X