Welcome to the JavaScript feedback portal. We’re happy you’re here! If you have feedback on how to improve the JavaScript, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

When column does not have explicitly defined width, is set to autoFit and is hidden by default, it will not appear after being selected in column chooser until some action requiring repaint like sorting is performed or grid refreshed trough API.


Steps to reproduce:

  1. Set column autoFit property to true and visible to false
  2. Column doesn't have width explicitly set
  3. Enable column chooser for the grid
  4. Select column to be visible in column chooser and click OK

Actual result: Column does not appear, however if you sort by some column after that, it will appear

Expected result: Column should appear as soon as you click OK in column chooser

It is reproducible on your column chooser demos as well, you just need to remove explicit width for ShipCity and set autoFit to true.

Workaround:

actionComplete: (args) => { if (args.requestType == 'columnstate') { grid.refresh(); } }