Skip to main content
Skip table of contents

Filtering

Web Apps created with X4 Web Apps automatically support paging in the grid component. You can use the Filtering within the GridSettings element to set filter conditions server-side.

The default behavior of the grid component is client-side filtering. However, you also have the option to access the data from the client-side filter set in a grid component on the server side.

If the output of the Technical Process that loads the data into the grid component has the following structure:

XML
<OkList size="{/data/@count}">filter value</OkList>

then the input of the same Technical Process contains information about the active filter:

CODE
<?xml version="1.0" encoding="UTF-8"?>
<Search limit="100" offset="0">
   <Component>Grid</Component>
   <OrderBy/>
   <Where>
      <Contains>
         <Property>filter value</Property>
         <Value type="String">filter value</Value>
      </Contains>
   </Where>
...
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.