Axure Docs
  • Axure RP Reference
  • Axure RP Tutorials
  • Axure Cloud Reference
  • Axure Support
  • Download

›The Repeater

Installing and Activating RP

  • Activating Axure RP
  • Installing on macOS
  • Installing on Windows

Getting Started

  • Getting Started Video
  • The Axure RP Environment
  • Viewing and Sharing Your Prototypes
  • Keyboard Shortcuts
  • Auto-Saved Backup Files

Working with Widgets

  • Organizing Widgets
  • Widget Groups
  • Styling Widgets
  • Widget Libraries
  • The Grid, Guides, and Snapping

Basic Widgets

  • Buttons, Shapes, & Text
  • Images
  • Hot Spots
  • Lines & Arrows
  • Dynamic Panels
  • Inline Frames
  • Text Fields & Text Areas
  • Droplists
  • List Boxes
  • Checkboxes
  • Radio Buttons
  • Trees
  • Tables
  • Classic Menus
  • Snapshots

Working with Pages

  • Managing Pages
  • Styling Pages

Masters

  • Creating and Using Masters
  • Master Views
  • Raised Events

Introduction to Interactions

  • Events, Cases, and Actions
  • List of Events
  • List of Actions
  • Text Links
  • Style Effects
  • Animations

Advanced Interactions

  • Variables
  • Conditional Logic
  • Math, Functions, and Expressions
  • Selection Groups
  • Move Action Boundaries

The Repeater

  • Repeaters
  • Dynamically Adding Rows
  • Dynamically Deleting Rows
  • Updating Rows
  • Marking Rows
  • Sorting Rows
  • Filtering Rows
  • Pagination

Adaptive Views

  • Adaptive Views

Documenting Your Prototype

  • Page and Widget Notes
  • The Word Specification
  • Printing

Flow Diagrams

  • Flow Diagrams
  • Flow Connectors

Publishing Your Prototype

  • The Prototype Player
  • Customizing the HTML Output
  • Web Fonts and Font Mapping

Team Projects

  • Creating and Sharing Projects
  • Working with Team Projects
  • Team Project History
  • Troubleshooting Team Projects
  • Upgrading Projects to RP 9

Filtering Repeater Rows

In this tutorial, you'll learn how to filter repeater widgets to only display rows that meet certain criteria.

Note

Click here to download the completed RP file for this tutorial.

1. Widget Setup

  1. Open a new RP file and open Page 1 on the canvas.

  2. Drag a repeater widget and a button widget onto the canvas.

  3. Set the text on the button to Add Filter.

  4. Select the repeater widget. In the Style pane, add two new rows to Column0 of the dataset, one with the value 4 and one with the value 5.

2. Filter by a Constant Value

  1. Select the "Add Filter" button widget and click New Interaction in the Interactions pane.

  2. Select the Click or Tap event in the list that appears, and then select the Add Filter action.

  3. Select the repeater widget in the Target dropdown.

  4. In the Name field, enter Less than 4.

  5. In the Rule field, enter [[Item.Column0 < 4]]. This bracketed expression will filter out any rows whose Column0 values are less than 4.

  6. Click OK to save the action.

3. Preview the Interaction

Preview the page and click the "Add Filter" button to filter the repeater. The "4" and "5" rectangles should disappear.

4. Filter by a Dynamic Value

  1. Back in Axure RP, add a text field widget to the canvas.

  2. With the text field selected, click New Interaction in the Interactions pane.

  3. Select the Text Changed event in the list that appears, and then select the Add Filter action.

  4. Select the repeater widget in the Target dropdown.

  5. In the Name field, enter Less than user input.

  6. In the Rule field, enter [[Item.Column0 < This.text]]. This bracketed expression will filter out any rows whose Column0 values are less than the value entered in the text field.

  7. Click OK to save the action.

5. Preview the Interaction

  1. Preview the page again and enter 4 in the text field. The repeater should only display rectangles "3" and below.

  2. Enter 5 in the text field. The repeater should now display rectangles "4" and below.

6. Remove the Filter

  1. Back in Axure RP, drag another button widget onto the canvas and set its text to Remove Filter.

  2. With the button selected, click New Interaction in the Interactions pane.

  3. Select the Click or Tap event in the list that appears, and then select the Remove Filter action.

  4. Select the repeater widget in the Target dropdown.

  5. Select the All radio button and click OK to save the action.

    Note

    To remove only one specific filter, you can select the second radio button and enter the filter's name in the text field. This can be useful when you have multiple filters applied to a repeater at the same time.

7. Preview the Interaction

  1. Preview the page and click the "Add Filter" button to filter the repeater.

  2. Click the "Remove Filter" button to restore the repeater to its default state.

← Sorting RowsPagination →
  • 1. Widget Setup
  • 2. Filter by a Constant Value
  • 3. Preview the Interaction
  • 4. Filter by a Dynamic Value
  • 5. Preview the Interaction
  • 6. Remove the Filter
  • 7. Preview the Interaction
Axure Docs
Stay Connected

Sign up to receive Axure tutorials and news. You can unsubscribe at any time.

Axure
TourEnterpriseCompanyDownloadPurchase
Legal
Customer AgreementPrivacy PolicyGDPRSecurityPatents
Resources
BlogForumLicense PortalAxure Cloud
Support
Learn and SupportGetting StartedReferenceWidget LibrariesAxure RP 8 Documentation and Tutorials
Copyright © 2002–2021 Axure Software Solutions, Inc. All rights reserved. Axure® is a registered trademark of Axure Software Solutions, Inc.