Home
No Load
Contact
Dynamic filter data test
Problem
We need to dynamically modify the contents of the list using client-side script, and to have that dynamic content filtered.
CMS Load is used, the "Page 2+" list is not in the DOM and our list-update scripts cannot prepare it for filtering
We cannot find the correct CMS Load events or CMS Core List events that tell us when new data has been loaded into the in-memory list,
We aren't sure how to set filtering data in-memory either ( this would be preferred to to DOM manipulation )
Demonstration
Uses CMS Filter and CMS Load. Pagination is set to 2 items ( 50 pages )
Enter any 3 letter sequence, e.g. AAA, BBB, ccc
There are 100 items in the list, you should get 3 to 4 items with any combination
Notes
Only page 1 is getting results
onrender
can't solve this, as the items DOM can only be accessed after pagination
Code as at the bottom in a codepen
Console is logging
onrender
,
additems
and
switchpage
Not seeing
additems
trigger at all, either during the CMS load ( even uncached ), or at the completion of the load
Dynamic Text Match ( 3 Letter Sequence )
Start Date
End Date
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Matches=
X
of
Y
Clear Database Cache
Stand-alone 24hour migration
U
Versatile multimedia encoding
S
Previous
Next
See the Pen
TEST | Finsweet Load + Filter Dynamic
by Michael Wells (
@memetican
) on
CodePen
.