jQWidgets Forums

jQuery UI Widgets Forums Grid Verification messages with popup edit grid

This topic contains 2 replies, has 2 voices, and was last updated by  Peter Stoev 12 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author

  • jmarais
    Participant

    I use a popup window to edit a grid row and I also use verification in this window. The popup also has a cancel button. Should the user fail the verification and the messages appear and then decides to cancel the editing by clicking the cancel button, the window closes but the message stays there! I managed to remove them by adding a close function bound to the classes of the error messages but it seems to me an ineffective and probable not correct way of doing it. I used the “jqx-validator-hint” class to select them for closure in the click event handler of the cancel button.

    Is that the correct way or are there a better way?


    jmarais
    Participant

    OK, I believe that calling the “hide” method of the validator, together with the “hide” method of the window, is the appropriate way?


    Peter Stoev
    Keymaster

    Hi Johan,

    That’s right. The jqxValidator’s “hide” method should be used in your scenario.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.