Data Table - Prevent Fit to Content on Load

UI Components for Vue
Post Reply
mnixon
Posts: 1
Joined: 15 Aug 2023, 19:56

15 Aug 2023, 20:02

Is it possible to prevent the table from adjusting to the width of the content on page load? I'm trying to build a customizable table where the user can manually set widths of each column. For columns where the width is smaller than the content, I want the cell to use overflow hidden. I am able to achieve this after the column-resize-end event is triggered, but on the initial page load the columns always adjust to the width of the content.

I've tried using event listeners for a resize event or something like that with no success, is there a way for me to achieve this?

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests