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…:wink: 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

sc1.jpg

Try to change ‘_parent’ by ‘modal’

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

sc1.jpg

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.