Announcement

Collapse
No announcement yet.

Calendar "Without category" Selection

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

  • Calendar "Without category" Selection

    What exactly does if i select ore unselect this "Without category" in the Calendar.

    if i start the calendar all categories are selected. if i unselect the "Without category" has no effects. All Categories are allways selected. if i like to filter only one category, then i must first unselect all other categories. I think that's not what I thought.

    If I remove this filter, would all categories be unselected or not?

  • #2
    This is a solution to activate or deactivate the categories at startup. Place it in the onCalendarScriptInit event. Use the inspector to get the correct filterCategory() parameter.

    HTML Code:
    ?>
        <script src="https://code.jquery.com/jquery-1.9.1.min.js">
        $( document ).ready(function() {
            filterCategory('EFF');
            filterCategory('SCNULLCAT');
        });
    </script>
    <?php

    Comment


    • #3
      this correct code
      HTML Code:
      ?>
      <script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
      <script>
          $( document ).ready(function() {
              filterCategory('EFF');
              filterCategory('SCNULLCAT');
          });
      </script>
      <?php

      Comment

      Working...
      X