Textfield Value State problem
I am using TextFields as cells of Table . I am setting ValueState properties of Texfields with sap.ui.core.ValueState.Error as dynamically .
My problem is If I resize the browser window , valuStates of Textfields are being None automatically .
If do you have any solution please let me know .
Sai Vellanki replied
I got your problem now. You are using "Auto" for visibleRowCountMode. In result, what happens in the background is when you re-size the browser window the table rows get adjusted with respect to screen height. Since, the property value is set to "Auto".
To overcome the above issue, what you can do is use addEventDelegate method of table. So, when you re-size or maximize the screen it will hit the onAfterRendering event. Also, if you want to store the value that you are providing in text field, use model concept there.