Important Notice - Forums is archived
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.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 2 weeks ago
About Editor.addValidator
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!"));
grid.getColumn("rank").setEditorField(rankEditor);
When i added column to the grid——
grid1.addColumn("rank", Integer.class);
The validator just does not work.
i don't know if the "Integer.class" function in it.
Last updated on
You cannot reply to this thread.