To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
I have created a grid.Then i do this——
TextField rankEditor = new TextField();
rankEditor.addValidator(new RegexpValidator("^[0-9]*[1-9][0-9]*$", "Please enter a positive integer！"));
When i added column to the grid——
The validator just does not work.i don't know if the "Integer.class" function in it.