SAPUI5 Table Column Resizing Methods, Events, Properties
Dear SAPUI5 Experts,
Our goal is to resize the columns according to the string length of the json file data. Currently, following events and methods are available for sap.ui.table:
The sap.ui.colum offers autoResizable(boolean value) doesn´t show any changes. I also do not see major changes if I change the width of the columns to 100%.
My question is: How to implement these methods/events correctly?
Thank you very much in advance!
Kai Helferich replied
AutoResize example here:
But the rendering is not the best :-)
Also notice the API hint:
Experimental API:Experimental! Presently implemented to only work with pure text-based controls, the sap.ui.commons.Checkbox and sap.m.Image as well as sap.ui.commons.Image. It will also work for most simple input fields (TextField, CheckBox, but not ComboBox)