3/11/2023 0 Comments Spotfire add reset filters button![]() onFilterOpened is called when the filter is opened.Pressing Enter will also apply the filter and close the popup. The Age and Year columns have closeOnApply set to true, so the filter popup will be closed immediately when the filter is applied, reset or cancelled.The Year column has a filter with Apply and Cancel buttons.The Country column has a filter with Apply and Clear buttons.The Athlete and Age columns have filters with Apply and Reset buttons, but different orders.It also demonstrates the relationship between the buttons and filter events. The example below demonstrates using the different buttons. The buttons will be displayed in the order they are specified in the buttons array. The Cancel button will discard any changes that have been made in the UI, restoring the state of the filter to match the applied model. The Clear button clears just the filter UI, whereas the Reset button clears the filter UI and removes any active filters for that column. ![]() Pressing Enter is equivalent to pressing the Apply button. This is useful if the filtering operation will take a long time because the dataset is large, or if using server-side filtering (thus preventing unnecessary calls to the server). When the Apply button is used, the filter is only applied once the Apply button is pressed. SetModel = (model: any) => void | AgPromise Įach of the provided filters can optionally include Apply, Clear, Reset and Cancel buttons.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |