jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Grid Validation Hint Issue
Tagged: hint, jqxgrid, validation
This topic contains 6 replies, has 2 voices, and was last updated by mohamedazher 10 years ago.
-
Author
-
Hi,
If you take a look at the example below, when you try to edit the last row in the given view, and click away, the validation hint jumps to the top of the grid and no longer points to the field.
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/rowediting.htm?arcticThis happens every time you try to edit the last row in a given view. Ideally the tooltip should jump to the top of the field, but in this case it does not.
I noticed that the first div inside contenttablejqxgrid has the class parameter missing in such cases.
In some cases the hint is hidden if the validation message is on the first column.
is there a workaround for this?
Regards,
Mohamed AzherHi Mohamed Azher,
Thank you for the provided feedback! We confirm the behavior and will resolve it for the next release.
Best Wishes,
MariyajQWidgets Team
http://www.jqwidgets.comHi Mariya,
Thanks for the update, but i was wondering if there is any workaround?
Is there any other way to show the validation failed message and not use the validation hints? Like with a simple alert?
Or is it possible to turn the hints off? In such case i could use a simple alert when validation fails.
I can handle the notification part, if i could turn of the hints on the grid validations.
Regards,
Mohamed AzherHi Mohamed Azher,
You can turn the hints off or make them invisible by using css commands. You can also use a simple alert in the validation function.
Best Wishes,
MariyajQWidgets Team
http://www.jqwidgets.comhi,
Could you tell me how can i turn off the hints on the grid validator? I dont see any option to turn off hints?
Regards,
Mohamed AzherHi Mohamed Azher,
You have two possible approaches.
1. If you don’t want to see the hints do not set a validation function at all
2. If you want to have a validation function but do not want to see the hints: use a css commands to hide the hints and set a simple alert by setting it in the validation functionBest Wishes,
MariyajQWidgets Team
http://www.jqwidgets.comHi Mariya,
Thanks for the update. We’ll work something out.
Regards,
Mohamed Azher -
AuthorPosts
You must be logged in to reply to this topic.