JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Data Grid Double-click to auto-size column doesn't work

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #102200
    aconley
    Member

    I’m using Angular 12 and trying to make it so the grid column will auto-size when I double-click the right border in the column header, and I found the following property in the GridBehavior object that seems to fit this functionality:  allowColumnAutoSizeOnDoubleClick
    The property has the following description: “Auto-Resize on double-click of a column’s right border. Default value: true”
    However, when I try to double-click on the column’s right border, the manual column resizing kicks in and only decreases the column width by a pixel or 3. Since this behavior is supposed to be enabled by default, you can see how it doesn’t work properly in the demo site:
    https://www.htmlelements.com/angular/demos/grid/column-resize/
    Is there a trick to get this to work?

    #102201
    admin
    Keymaster

    Hi aconley,
    This is an issue in our code which will be resolved in the next version. In previous versions the allowColumnAutoSizeOnDoubleClick was wrongly part of the ‘appearance’ settings and the resizing still checks for that.
    Best regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

    #102203
    aconley
    Member

    First, thanks for the quick response.
    I’m sure you’ve probably had to answer this in other threads, but since this forum doesn’t allow searching (which is ridiculous, just saying), can you tell me when you expect the new release to be available?
    Also, as a workaround, I was expecting to be able to set that property on both the appearance and the behavior settings, but when I did that, nothing changed, double-click still didn’t work to auto-size the column.

    #102204
    admin
    Keymaster

    Hi aconley,
    That is an issue in our code which needs to be fixed in order to use the column/row ‘autoSize’ feature. You can subscribe to our newsletter so when we release a new version, you will receive an email. We usually release a new version every 1.5-2 months.
    Best regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

    #102295
    aconley
    Member

    I’ve confirmed that this is fixed in smart-webcomponents-angular v10.0.41. Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.