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

Grid Filtered with no matching results has missing "No Results" text

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

  • Grid Filtered with no matching results has missing "No Results" text

    I have a minor cosmetic issue where a Grid filtered with no matching results has missing "No Results" text in a specific case. In the Main Section, I have a When Shown that will "Show - Load Data - Keep Behavior Filter" for a grid in that section. I then also have a button that will do a Filter action filtered so that it will not match any rows (for testing, it checks for cust# of 5 which does not exist). When the Filter button is clicked, you would expect "No Results" to be shown, but instead it is a big empty white block.

    App Configuration:
    image.png​image.png​

    Before Clicking Filter:
    image.png​

    After Clicking Filter:
    image.png​What I'd actually expect to see after clicking Filter:
    image.png​Thanks

  • #2
    Can you use the NAB Developer Tools > Network and show us what is being sent back when you click the "Filter" button?

    Comment


    • #3
      This bug is still an issue in version 6.3.20250325.1. The logs aren't super useful in this case I think:
      image.png​
      image.png
      I've found that if I change the grid to have Auto Load unchecked, it fixes the issue and has the proper No Results screen. The logs are exactly the same, though.

      ​​

      Comment


      • #4
        I've replicated the issue. Before proceeding, can you explain the reasoning behind setting your grid to Autoload while also loading it when the Main section is shown? This dual loading causes the grid to load twice simultaneously, which appears to be the source of the issue.​

        Comment


        • #5
          I don't have any apps with the issue right now other than the little test app. Back when I ran into this I think I had problems with the grid not refreshing when going back to a previous section, and added in the On Show Section refresh action to fix it. Later I found this minor issue, and eventually figured out how to replicate it in a smaller test app after a lot of trial and error. The original app is now completely different from before as it was reworked for other reasons. In short, I don't think there really is any great reason that I can currently think of :) I did not realize at the time that turning off Autoload would fix the issue (though I would have thought that I'd try that). It's up to you if you think it is worth fixing. I have no reason at the moment for it to be fixed. Thanks

          Comment

          Working...
          X