The demo shows how to apply a filter during the Custom element Grid's initialization.