csanchezr85
31 Aug 2012, 3:05 AM
Hello,
I have a problem when sort by a column, refresh the grid data, resize the grid...every action is resizing the columns, making them smaller (the property modified is the width).
3837538376
As you can see, the second image is the same grid after being sorted a lot of times.
I have solved the problem when refresh the grid with new data re-drawing the columns, but this solution is not able to apply when user sorts. I've seen too that adding the 'flex' property with value 1 the columns don't resize, but this is another trouble because I want to set the 'width' property and using 'flex' the 'witdth' isn't applied.
Is there any solution to solve this without re-render columns and that let me set the columns width?
Thanks in advance.
I have a problem when sort by a column, refresh the grid data, resize the grid...every action is resizing the columns, making them smaller (the property modified is the width).
3837538376
As you can see, the second image is the same grid after being sorted a lot of times.
I have solved the problem when refresh the grid with new data re-drawing the columns, but this solution is not able to apply when user sorts. I've seen too that adding the 'flex' property with value 1 the columns don't resize, but this is another trouble because I want to set the 'width' property and using 'flex' the 'witdth' isn't applied.
Is there any solution to solve this without re-render columns and that let me set the columns width?
Thanks in advance.