Announcement

Collapse
No announcement yet.

Canceling new row, form don't close?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Canceling new row, form don't close?

    Hi all.

    Grid with add new row button, opens form in modal. If user cancel this form, how to close modal instead of staying in form app and then, exit button is needed to close?
    /Giuseppe

    Professional Scriptcase Services
    Some Customers opinions

  • #2
    Some idea on this? I don't see any option to close automatically the form.
    /Giuseppe

    Professional Scriptcase Services
    Some Customers opinions

    Comment


    • #3
      Remove the Cancel button from the toolbar.
      Create a Javascript button.

      Target: Same Window
      Show in Update mode: No
      Show in the inserting mode: Yes
      Code: window.parent.tb_remove();

      That's it.

      jsb

      Comment


      • #4
        Originally posted by jsbinca View Post
        Remove the Cancel button from the toolbar.
        Create a Javascript button.

        Target: Same Window
        Show in Update mode: No
        Show in the inserting mode: Yes
        Code: window.parent.tb_remove();

        That's it.

        jsb
        Hi jsb,

        I had Something like like this in mi mind. Just curious,there are an option to close after update,but no after create.

        Thanks
        /Giuseppe

        Professional Scriptcase Services
        Some Customers opinions

        Comment

        Working...
        X