We use AutoFitWidthApproach.BOTH on most of our grids and as long as the grid has data in it it works beautifully. But when the user deletes the last row in the grid the columns autofit in such a way that each column is as wide as the grid. So there is only one column showing and they have to scroll to the right to see the rest. As soon as they enter a row of data they can manually request autofit and widths are recalculated as expected.
Is there some way to have the column widths remain unchanged when the user deletes the last row? Or, as was suggested in this other post, have AutoFitWidthApproach.BOTH revert to AutoFitWidthApproach.TITLE when the grid is empty?
Is there some way to have the column widths remain unchanged when the user deletes the last row? Or, as was suggested in this other post, have AutoFitWidthApproach.BOTH revert to AutoFitWidthApproach.TITLE when the grid is empty?
Comment