# Replace the Filter Cell of a Grid Column With a Save Order Button

## Environment

<table>
    <tbody>
        <tr>
            <td>Product Version</td>
            <td>14.4.0</td>
        </tr>
        <tr>
            <td>Product</td>
            <td>Progress® KendoReact Grid</td>
        </tr>
    </tbody>
</table>

## Description

I have a KendoReact Grid that supports row reordering through drag and drop and shows the current row position in an `Order` column. I want to replace the default filter input with a custom `Save Order` button that persists the current row order to a database or to `localStorage`.

## Solution

Pass both a custom `data` cell and a custom `filterCell` to the [`cells`](https://www.telerik.com/kendo-react-ui/components/grid/api/gridcolumnprops#cells) prop of the `GridColumn`. The [`filterCell`](https://www.telerik.com/kendo-react-ui/components/grid/api/gridcellssettings#filtercell) component completely replaces the default filter UI, so you can render a Kendo `Button` that triggers your save logic. The [`data`](https://www.telerik.com/kendo-react-ui/components/grid/api/gridcellssettings#data) cell renders the current row position as a plain number.

[Demo Source](https://demos.telerik.com/kendo-react-ui/knowledge-base/grid/grid-save-button-in-filter-cell/source.txt)

## See Also

* [Grid Custom Cells](https://www.telerik.com/kendo-react-ui/components/grid/cells)
* [Grid Filter Cells](https://www.telerik.com/kendo-react-ui/components/grid/cells/header-footer-filter-cells)
* [Grid Row Reordering](https://www.telerik.com/kendo-react-ui/components/grid/rows/row-reordering)
* [GridColumnProps API](https://www.telerik.com/kendo-react-ui/components/grid/api/gridcolumnprops)
* [GridCellsSettings API](https://www.telerik.com/kendo-react-ui/components/grid/api/gridcellssettings)
