What’s the best way to put validation on a Dojo DataGrid cell? Among all the callbacks available, I haven’t found any way to do it, not even a hacky way.
(I’m using Dojo 1.6.)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I suggest to create a button to apply/validate the data in the grid, call ajax with method PUT /{table}/{id} (-1) and json data item in the body.
Execute validation in the server and return error in the header
then open a dojo.dialog with error returning from the server with a close button
or any error display implementation that you like.
I used the following technology:
good luck