Skip to content

Get the column width after colResizable.on.columnSizeChanged #5020

@tamkeen-tms

Description

@tamkeen-tms

I was able to make the columns resizable, but I am also trying to store the column widths in a cookie or something to make the user more comfortable when using/reusing the grid, HOW TO DO THIS ?

I could found the event " colResizable.on.columnSizeChanged ", but it doesn't return the new width, instead it gives the delta change in the width, how to get the actual width then ? I tried setting the "width" property for each column (in columnDefs) and work it with the deltaChange value but failed (cus of a possible bug, try resize down the column to the max, couple of times, the delta change keeps going under zero, it reached -1000 after a couple of drags!)

Hope you can help me with asap, and thanks for this awesome module, it helped me sooo much 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions