Loading...

How can qSelector as filter return all rows by default for qListView if no selection is made.

How can qSelector as filter return all rows by default for qListView if no selection is made.

  • This topic is empty.
Viewing 5 reply threads
  • Author
    Posts
    • #7418
      Anonymous
      Anonymous
      Participant

      Hi there,

      n

       

      n

      You can check “Turn Off Filtering When Empty Selection Is Chosen” check box in qSelector to turn of this feature.

      n

       

      n

    • #7033
      Anonymous
      Anonymous
      Participant

      Hi,

      n

      We are experiencing the same issue.  Any advice would be very helpful.

      n

      Thanks,

      n

      Trav

    • #7037
      Anonymous
      Anonymous
      Participant

      That option was already turned on.

      n

      The CAML filter on the list is expecting a Session value.  On the initial load of the page, nothing is there, no session, nothing.  So nothing loads.  Now, after selecting a different value and then selecting the empty value from the qSelector it works.  It is just the initial load of the ASPX page that does not work.

      n

      Does the CAML filter on the list need to be set up differently?

      n

      Thanks,

      n

      Trav

    • #7040
      Anonymous
      Anonymous
      Participant

      Hi

      n

       

      n

      Sorry, this is a bug in qSelector, I was assuming that you are connecting then with web part connection. I have created a bug for the team, the ID is #443821.

      n

       

      n

      I would like to provide below solution as a workaround:

      n

        n

      1. Open ezEdit in qListView, navigate to Custom Display;
      2. n

      3. Write below script into Results Header:
      4. n

      n

      <script>

      n

      var url = window.location;

      n

      if(url.toString().indexOf('refresh') == -1)

      n

      {

      n

         if(url.toString().indexOf('?') == -1)

      n

         {

      n

           window.location.href = url+'?refresh=1';

      n

         }

      n

         else{

      n

             window.location.href = url+'&refresh=1';

      n

         }

      n

      }

      n

      </script>

      n

       

      n

      The script will refresh the page if the page is loaded in the first time.

      n

       

      n

    • #4324
      Anonymous
      Anonymous
      Participant

      Hi,

      I have a qSelector as filter connected to qListview (Employee).  qSelector has Department selections (IT, HR, Finance) that will filter the Employee qListView with selected Departments from filter.  I have “Show Empty Selection” checked. So itshows empty selection with  “-Select One-” as default for qSelector when page loads.   I hope my scenerio is clear up to this point.  My question is:

      Why is the list initially returning ZERO rows when the -Select One- is selected?   How can I change it so that by default, itwill return all rows until any one of the department is selected.

      Thanks.

    • #7042
      Anonymous
      Anonymous
      Participant

      Awesome, at least there is a work around for now.

      n

      Thanks ,

      n

      Trav

Viewing 5 reply threads

You must be logged in to reply to this topic.