1
0
-1

Hi,

Currently im trying to disable data that contains these 2 values for the status from the data list. How should i do that?

I tried the following, it doesnt work. As it would only display data that contains New Request as the status but not the other one as well. Below image is my search field name.

#datalist.size.all_request[d-7075931-fn_dr_status=New Request][d-7075931-fn_dr_status=Approve by CFO]#

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      If you have some specific values for Status field then:
      Change the type of filter to Selectbox and then configure it for multiselect. Add hardcoded value of status or use a binder.
      Once you have configured it properly, you will be able to select the specific values against which you want to display.

      Refer Pics below:






      Result:

      1. Di Sheng

        how would i do it in code format? Eg. #datalist.size.all_request[d-7075931-fn_dr_status=New Request][d-7075931-fn_dr_status=Approve by CFO]#


        above example is only for one status, how about 2 status at once?

      2. Anas Misbah Shami

        Hi, 
        Why are you doing it with the code when you can use the default joget filters?
        I'm sorry, I don't understand where and why are you trying to implement the hash variable.

        Please tell me where you are using the datalist and how


      3. Di Sheng

        im using it to display pending task on hand like a dashboard. It would look like this

      CommentAdd your comment...