• 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.

refreshCombo

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

  • refreshCombo

    I think I know the answer to this ---- does refreshCombo not work if the combo is created with In-Line Data?

    Thx

    Dan

  • #2
    Never thought of that. Since it's data is hard coded and not supplied from a back-end data source it would have no effect.
    Last edited by robert.swanson; 04-28-2022, 06:35 PM.

    Comment


    • #3
      that's what i thought... thanx

      Comment


      • #4
        so i switched the inline data to be an actual datasource.... and it's still not refreshing.... everything i know to look at in devtools is correct.... i can see all the SetValues working.... I can see the variables controlling the reload set to true.... i can see the matching data getting loaded in the datasource..... yet the field on the screen remains empty..... something is not quite connecting.....

        is there a way to decipher the data i see in devtools to see it in english??? maybe something in there is gibberish??
        1. value: [{fld: "BLUEBOXOLD", val: "003000360034003200330030003000310034005800300 0300 032"},…]
          1. 0: {fld: "BLUEBOXOLD", val: "003000360034003200330030003000310034005800300 0300 032"}
          2. 1: {fld: "F1_IBSOURCE", val: "00580030003000320020"}
          3. 2: {fld: "F1_IBSERI", val: "0036003400320033"}
          4. 3: {fld: "F1_IBFULF", val: "0031"}
          5. 4: {fld: "F1_IBSRCSYS", val: "00410050004F004C004C004F0020002000200020"}

        Comment


        • #5
          Might have resolved this but I don't get why ----- the characters at the end of the data string in dev tools looked a bit repetitive --- so i put a %trim() around the setvalue and it seems to work..... not sure why I have to do that since they are 2 characters fields of the same length..... any insights would be appreciated....

          Comment


          • #6
            Thanks - I found this helped me - using setValue with trim() to set a dropdown element value allowed the drop down to show the value. Prior to using trim() the value in the drop down was blank. NB, all of the dropdown choices were available in the dropdown, and the value I had set the element to was one of the available options, but the drop down did not reflect that that was the value selected in the dropdown,

            Comment

            Working...
            X