something weird going on.
i wanted to test the filter in combination with setting the initial values by using a rpg program. ..
i have multiple fields defined as filter but i've set the initial value via program only for 2 of those .
'see print screens'
ps. can the error be related to the use of the 'Settings' in the filter..in combination with the use of 'Transform to a dropdown box ??
(i noticed that the 'transform options disappear as soon as the settings are chosen ?)..
the initial values are correctly set , but now I'm getting an error all the time when changing manually a filter in the grid..
Error as seen in the browse console:
my Rpg pgm (still hardcoded with some values to serve as test)
Image 001.png
Image 002.pngImage 003.png
i wanted to test the filter in combination with setting the initial values by using a rpg program. ..
i have multiple fields defined as filter but i've set the initial value via program only for 2 of those .
'see print screens'
ps. can the error be related to the use of the 'Settings' in the filter..in combination with the use of 'Transform to a dropdown box ??
(i noticed that the 'transform options disappear as soon as the settings are chosen ?)..
the initial values are correctly set , but now I'm getting an error all the time when changing manually a filter in the grid..
Error as seen in the browse console:
PHP Code:
app.js?_dc=20220706091551:1 Uncaught ReferenceError: v2 is not defined
at r (app.js?_dc=20220706091551:1:1910848)
at ctor.<anonymous> (app.js?_dc=20220706091551:1:1912129)
at Object.each (app.js?_dc=20220706091551:1:65788)
at ctor.onClickApply (app.js?_dc=20220706091551:1:1911533)
at ctor.fn (app.js?_dc=20220706091551:1:1898842)
at h (app.js?_dc=20220706091551:1:185479)
at Object.elevate (app.js?_dc=20220706091551:1:62611)
at c (app.js?_dc=20220706091551:1:95531)
my Rpg pgm (still hardcoded with some values to serve as test)
PHP Code:
// --------------------------------------------------------------
// program start
// --------------------------------------------------------------
gvvUser = vvin_char('vvUser');
Initialize();
Process();
CleanUp();
*inlr=*on;
return;
//************************************************** **********************
// PROCESS *
// *
//************************************************** **********************
Dcl-Proc Process;
dcl-Pi *n;
End-pi;
dcl-s lAction char(20);
if (gAction = 'setDftFilter');
setDftFilter();
return;
Endif;
End-Proc Process;
//************************************************** **********************
// SETDFTFILTER *
// *
//************************************************** **********************
Dcl-Proc setDftFilter;
SetValue('CXCLC5':'LPO');
SetValue('DHCSITE':'TLT');
End-Proc setDftFilter;
Image 002.pngImage 003.png
Comment