Supported field types

SPListViewFilter supports these field types:
  • Single line of text
  • Multiple lines of text
  • Choice (with multiple selection)
  • Number
  • Date and Time
  • Currency
  • Lookup (with multiple selection)
  • Yes/No
  • Person or Group
  • Hyperlink
  • Approval Status
  • Managed metadata (with multiple selection)


SPListViewFilter builds filter form using different types of controls:
  • TextBox. "Contains" criteria filter
  • TextBox with options. Allows user to choose filter criteria that can be one of these:
    • Equals
    • Not equals
    • Contains
    • Begins with
  • Date
  • Date Range
  • DropDownList
  • DropDownList with multiple selection
  • People picker
  • MetaData picker

Relation between field type and supported filter types is represented in this matrix:






Last edited May 22, 2012 at 7:34 AM by VitalyZhukov, version 5

Comments

No comments yet.