User Manual

10.04.2024

MANUAL

Developer Function: Server Script: view.ClearFilters

## Overview Clear filter conditions set in the "[Server Script](/en/manual/table-management-server-script)". This can be used to disable filters set in the WebUI in the server script. Filter conditions already set when view.ClearFilters() is called will be deleted. The contents of any new ["view.Filters"](/manual/server-script-view-filters) set in the server script after view.ClearFilters() is called will be valid. ## Notes 1. Only the "When Processing View" condition can be used. ## Supported Versions 1. Pleasanter 1.3.13.0 or later ## Syntax ``` view.ClearFilters(); ``` ## Parameters There are no parameters. ## Return Value There is no return value. ## Usage Example In the example below, all filter operations from the screen are disabled, and then a condition is added to ["view.Filters"](/manual/server-script-view-filters) to extract records that contain the string "Software" in the "「Body Column」". ##### JavaScript ``` view.ClearFilters(); // Disable all filter operations from the screen view.Filters.Body = 'Software'; // Extract items that contain the string 'Software' in the Body. ``` ## Related Information <div id="ManualList"><ul><li><a href="/en/manual/table-management-server-script">Table Management: Server Script</a><span>08.13.2024 up</span></li></ul></article></div><input id="SearchTextHidden" type="hidden" value="" />
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.