Intersoft WebGrid Documentation
AutoFilterSuggestion Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > LayoutSet Class : AutoFilterSuggestion Property






Specifies whether a list of suggested filters based on current selection should be added to the context menu.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Specifies whether a list of suggested filters based on current selection should be added to the context menu.")>
<ISNet.Serialization.XmlSerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
<ISNet.Serialization.BinarySerializableAttribute()>
<DefaultValueAttribute()>
Public Property AutoFilterSuggestion As Boolean
Visual Basic (Usage)Copy Code
Dim instance As LayoutSet
Dim value As Boolean
 
instance.AutoFilterSuggestion = value
 
value = instance.AutoFilterSuggestion
C# 
[DescriptionAttribute("Specifies whether a list of suggested filters based on current selection should be added to the context menu.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
public bool AutoFilterSuggestion {get; set;}
Delphi 
public read-write property AutoFilterSuggestion: Boolean; 
JScript 
DescriptionAttribute("Specifies whether a list of suggested filters based on current selection should be added to the context menu.")
ISNet.Serialization.XmlSerializableAttribute()
NotifyParentPropertyAttribute()
ISNet.Serialization.BinarySerializableAttribute()
DefaultValueAttribute()
public function get,set AutoFilterSuggestion : boolean
Managed Extensions for C++ 
[DescriptionAttribute("Specifies whether a list of suggested filters based on current selection should be added to the context menu.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
public: __property bool get_AutoFilterSuggestion();
public: __property void set_AutoFilterSuggestion( 
   bool value
);
C++/CLI 
[DescriptionAttribute("Specifies whether a list of suggested filters based on current selection should be added to the context menu.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
public:
property bool AutoFilterSuggestion {
   bool get();
   void set (    bool value);
}

Remarks

New in version 5.0 is Automatic Filter Suggestion feature enabling users to easily perform data filtering based on the currently selected cell. When set to True, automatic filter suggestion will be added to Column's and Cell's context menu. This feature is best used along with Filter Status Indicator feature, which can be enabled from ShowFilterStatus property. The benefits of AutoFilterSuggestion are:

  • This feature will allow users to filter data without typing any letter in the filter bar. 
  •  AllowFiltering and FilterBar can be turned off while allowing users to perform filtering on existing data.

This feature also allows user to filter wide range of date in the column's or cell's context menu. The special date range filters are like Today, Tomorrow, Yesterday, Next Week, Next Month and so on. Therefore, this feature will boost users productivity by allowing them to quickly perform filter based on the current selected cell data.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Reference

LayoutSet Class
LayoutSet Members

Concepts

Automatic Filter suggestion
Filtering in V5.0

Other Resources

Automatic Data Processing

©2012 Intersoft Solutions Corp. All Rights Reserved.