03-07-2022, 04:31 PM
I made a frame with template load in a region on my main form,
But javascript is not executed on frame call
Attached example
But javascript is not executed on frame call
Attached example
Frame with Template
|
03-07-2022, 04:31 PM
I made a frame with template load in a region on my main form,
But javascript is not executed on frame call Attached example
03-07-2022, 11:22 PM
there are no need to change local info.
This thread helps me: https://www.atozed.com/forums/thread-1429.html <script> function Submitrowdata(e) { var a=e ajaxCall( "Submitrowdata","id="+a )} </script> At form "OnCreate" add: RegisterCallBack('Submitrowdata', procedure (aParams: TStrings; out aResult: string) begin IWMemo1.Lines.Add(aParams.Values['id']); end );
03-09-2022, 11:52 AM
(This post was last modified: 03-09-2022, 11:56 AM by oulijrasec.)
(03-07-2022, 11:22 PM)VampireKB Wrote: there are no need to change local info. I do! I want to simulate the behavior of frames. See the template I use. https://coreui.io/react/demo/4.0/#/dashboard Frames have datatable, select2, scripts that need to be executed at the time of frame creation. What is the need to reload the entire page? I would love to simulate that, it would be beautiful.
03-09-2022, 10:35 PM
i founded only 1 solution
function Submitrowdata(e) { var a=e ajaxCall( "Submitrowdata","id="+a ) document.location.reload(true);<-- Reloading the whole page... }; here is a sample: http://techrk.ru:8081
03-10-2022, 11:54 AM
this is not a practical solution.
Alright, I aborted the idea |
« Next Oldest | Next Newest »
|