The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientCardView.ApplySearchPanelFilter(value) Method

Applies the specified search panel filter criterion to grid data.

Declaration

ApplySearchPanelFilter(value: string): void

Parameters

Name Type Description
value string

A string value that specifies the filter criterion.

Remarks

Use the ApplySearchPanelFilter method to specify a search panel filter criterion and apply it to grid data on the client side. Note that the ApplySearchPanelFilter method is in effect even if the search panel is hidden (the ASPxGridSearchPanelSettings.Visible property is set to false).

To specify a search panel filter on the server side, use the ASPxGridBase.SearchPanelFilter property.

Examples

The code sample below demonstrates how to specify the search panel filter in code on the client side using the ASPxClientCardView.ApplySearchPanelFilter method.

ASPxCardView_SearchPanelFilterClient

<dx:ASPxCardView ID="CardView" runat="server" DataSourceID="CustomersDataSource" ClientInstanceName="card" Width="100%" AutoGenerateColumns="False">
        <Columns>
        ...
        </Columns>
        ... 
        <SettingsSearchPanel Visible="true" />
    </dx:ASPxCardView>
card.ApplySearchPanelFilter('big');
See Also