Announcement

Collapse
No announcement yet.

Is there a way to have a form overlapped to grid ?

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

  • Is there a way to have a form overlapped to grid ?

    Hi all,

    I got a grid with the list of available products.
    I've added an html image on last column Order with the Order icon and then one for RFQ.

    On Order_OnClick Ajax Events I added a short code like that
    [glo_ProductID]= {ProductID} ;
    [glo_ProduceName]={ProductName} ;
    sc_redir(Product_Quantity, parm1=[glo_ProductID]; parm2=[glo_ProduceName], "_parent");

    As you can see I call a form where I want to insert the quantity of the product I'm ordering.

    The behavior now is that SC on click open the little form but hide all previous grid.
    Probably it's a stupid question, but I'm not a programmer...;-) Is it possible do the same things but opening the form in overlapped mode (over the grid) ?

    Is there a more intelligent way to do this process ?

    See image

    When I insert the quantity , I click OK button and then I would like to come back to grid .
    Need I to use the command --> sc_commit_trans
    It's not clear to me . Is it a confirmation ?

    Many Thanks
    Attached Files

  • #2
    Try to change '_parent' by 'modal'
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      How to hide the area around the recalled modal form ?

      Hi Albert, thanks

      It seems to work in that way..
      Now I got a visualization problem about how to hide the area shown around the recalled form.
      I've tried to find ...everywhere how to eliminate it but I didn't find a solution.

      See image
      Attached Files

      Comment


      • #4
        In general you need to be able to control the size of the popup. I'm not sure if you can control that, at least not in the sc_redir. You need to look at the generated code, it often give clues where to look for.
        Albert Drent
        aducom software netherlands
        scriptcase partner, reseller, support and (turn-key) development
        www.scriptcase.eu / www.scriptcase.nl

        Comment

        Working...
        X