Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork270
CDataTable Reset Page to Zero on Filter#267
Unanswered
james-e-morris asked this question inQ&A
-
Is there a way to trigger the table to go back to page zero if column filter changes? There is an <CDataTablefields={fields}items={items}columnFilterValue={columnFilterState}columnFilter={{external:true}}onColumnFilterChange={(columnFilterState)=>{setpage(0)// this obviously won't work without a reference to the componentconstfilteredColState=pickBy(columnFilterState,Boolean);this.setState({ columnFilterState});}}/> |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 0 comments
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment