The Kendo UI is a powerful framework for fast HTML5 UI development. Based on the latest HTML5, CSS3, and JavaScript standards.
The Kendo UI contains everything you need to develop modern JavaScript development, including powerful data sources, generic drag-and-drop (Drag-and-drop) features, templates, and UI controls.
Today began to use the project kendo control skills to make a record, there are individual mistakes I hope you will not hesitate to point out, thank you.
The first is the Grid control edit is, validation error pop-up prompts unexpectedly is Chinese plus field name, the following figure. Crazy!! Can you give me a hand with such a low-level hint?
Such a hint, find Niang solve it!! Search results so unsatisfactory, kendo aspects of things are very few, only to rummage out to find Google.
The original solution is very simple, there are two:
1. Add Required:{message to Validation: "Test"}, as follows:
Deptcode: {
type: "string", Nullable:true, Validation: {
required:true,
required: {message: Test}
}
},
2, in the interface to add a style, as follows: (this method is not tested.) )
#grid. k-tooltip-validation {
margin-top:0!important;
Display:block;
position:static;
padding:0;
}
#grid. k-callout {
Display:none
}
The above is a small set to introduce the kendo Grid editing custom validation error tips to solve the problem, I hope to help you, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!