Visual Builder

Get Involved. Join the Conversation.

Topic

    Sumana Bhattacharjee
    Improper filtering of adp by rest call
    Topic posted October 30, 2019 by Sumana BhattacharjeeRed Ribbon: 250+ Points, tagged REST, UI 
    19 Views, 6 Comments
    Title:
    Improper filtering of adp by rest call
    Summary:
    I could find a strange issue if we are trying to filter an adp. In my case I am using a button to create a new search row at index 0 but in case there is same value at row 1 the adp isn't assgning.
    Content:

    I need to filter an adp based on the inputs selected/ provided on the first row. When I am selecting a select one value it is not assigning the filtered result back to the adp whenever the second row is having the same value entered in the search row/ row with index 0 and is stopping any other action. Has anyone faced this? What could be the possible solution for this abrupt behaviour?

    Version:
    19.3.1.3
    Image:
    Document:
    vbcs8.png (35KB)
    Document:
    vbcs10.png (22KB)
    Document:
    vbcs11.png (29KB)

    Comment

     

    • John Ceccarelli

      So you have an editable table and you have a first row that is a dummy row and you're trying to use that row to control the filter for the entire table?

      • Sumana Bhattacharjee

        Exactly John. I have achieved the filtering but the problem I am facing is in case of a single choice component. In case if it has a same value in the adjacent row the adp assign is not happening. I can see my rest is returning proper result. But not sure why it is not assigning.

    • John Ceccarelli

      This is really not the way the table was meant to be used and there are all kinds of problems you're going to run into if you go down this path. Can you not implement the filter as a separate component rather than as a row in the table?