I have text field as a cell editor in a grid cell. I want to show the cell as invalid if the value of the textfield is not valid. I have set the text field value using setValue() method. When I call textField.validate() method, it does not work properly as it is validating the raw value which wil be null or "" initially. I can't set the raw value of the text field before it is rendered. Is there a way to validate the text field before it is rendered.
The fields get validated when they are rendered. Assume that there is a default value for a cell. How do I validate it before it is rendered. In this case, the cell editor for that cell is not yet rendered.