Announcement

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

    Group by is cut off when Freezing first column

    Hi SmartClient Forum,

    I am facing an issue where the "Group By" functionality gets cut off when freezing the first column in a grid.
    1. I have enabled the "Group By" feature for my grid.
    2. When I freeze the first column, the "Group By" summary or the group header rows appear to be cut off or not displayed correctly.
    3. The problem occurs only when the first column is frozen; if freezing is disabled, the "Group By" feature works as expected.

    Are there any configuration settings or properties in Smart Client that can prevent the group header or group summaries from being cut off when freezing columns?

    Thank You
    Attached Files

    #2
    Hi Sunkari, can you answer some basics:

    1) what version are you using?

    2) what browser(s) are affected?

    3) can you reproduce this in the Showcase (there are hundreds of grid samples - just try freezing plus grouping in any one of them) or only in your app? If only in your app, we won't be able to reproduce it, so please try to narrow down the cause further

    Comment


      #3
      Hi Team,

      1. Version 12
      2. Its Effecting in all browsers
      3. Yes, I tried reproducing the issue in the Showcase with the grid samples, but I'm encountering the same problem there too. It doesn't seem to be isolated to just my app.

      Let me know if you need any more details!

      Comment


        #4
        That's great that you can reproduce it in the Showcase - with a quick try, we couldn't. So please tell us how.

        Since samples are editable, you can just link to a sample and indicate any code changes required to see the problem.

        Comment


          #5
          https://smartclient.com/smartclient/...amicGroupingFS

          Click on the 'Country' column, then select 'Freeze Column.' After that, drag the column, and you'll notice that 'North America' gets cut off. However, if the column is unfreeze, the issue does not occur.

          Comment


            #6
            This is not a bug. Introduce horizontal scrolling in the unfrozen columns and scroll right, and you'll see why the only option is to clip the group title at the frozen column boundary.

            The full content of the group header is available as a hover.

            Comment


              #7
              Dear SmartClient Team,

              I hope you're doing well.

              We are currently encountering an issue where the group-by headers are getting cut off when freezing the first column in a grid. While we understand that this behavior is expected due to the limitations with freezing columns, we are hoping to explore potential solutions to address this and ensure a better user experience.

              Could you kindly let us know what options might be available to resolve this issue? Specifically, we would appreciate any guidance on the following:
              1. Wrapping the group-by text to allow it to display fully without truncation.
              2. Adjusting the width of the frozen first column to accommodate the entire group-by header text.
              3. Any other configuration options or workarounds that might prevent the group header or summaries from being cut off when freezing columns.

              Additionally, if this issue could be addressed in a future release, we would be open to discussing the possibility of sponsoring feature development to expedite a solution.

              We greatly value the functionality and flexibility of SmartClient and would appreciate any insights or solutions you can provide to improve this aspect of the grid.

              Thank you for your time and consideration. I look forward to hearing from you.

              Comment


                #8
                Wrapping the group-by text to allow it to display fully without truncation.
                The group text is often rather long, so if vertical autofitting were applied, you'd likely end up with rows 5-10x normal height, which is clearly not desirable.

                Adjusting the width of the frozen first column to accommodate the entire group-by header text.
                Similar to above - this would often make the frozen area huge.

                But if you have short group headers, in application code you could autoFit to them when the user freezes and unfreezes fields.

                The only other solution would be to generate and float elements containing the group header text over the two scrollable regions (frozen and unfrozen fields). This would allow the full group header text to be shown, unclipped, as long as it's shorter than the overall grid width.

                We would approach this like recordComponents - basically a new placement option. Let us know if you want to go down this path.



                Comment

                Working...
                X