• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

NAB - GRID error with Filter

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

  • NAB - GRID error with Filter

    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:
    PHP Code:
    app.js?_dc=20220706091551:1 Uncaught ReferenceErrorv2 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 001.png

    Image 002.pngImage 003.png

  • #2
    sorry : forgot to mention : i'm on 6.1.20220706.0

    Comment


    • #3
      Can you try removing temporarily removing the DHNSTAT filter and see if you still get the error?

      No need to worry about the missing columns "Width" and "Transform To" columns...we automatically hide those when the "Settings" panel is expanded.

      Comment


      • #4
        Hi Sean

        indeed you're right.. by removing this "status between filter" it worked again
        but also leaving in the between-filter for the status and removing the ''remember last values.." it also works..

        So i assume the problem is with remembering last values in combination with a 'between' filter.



        Comment


        • #5
          Hi Thierry, we will attempt to replicate this and get it fixed. Thanks.

          Comment


          • #6
            Hi Thierry,

            Thanks for reporting this and it will be fixed in the next 6.1 update

            Comment

            Working...
            X