You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to filter data in a VueAdminTable with data loaded via ajax/tableDataEndpoint, but could not figure out how to dynamically set a new tableDataEndpoint and refresh the data without reloading the whole page.
Something like table.settings.tableDataEndpoint = 'main/ads/data?status=open' + table.reload()
Is this even possible right now? (if not, this is a FR...)
/Aylin
The text was updated successfully, but these errors were encountered:
Notes for myself: table.$children[0].$props.tableDataEndpoint = endpoint;
Looks like you can't initialise the vue table as documented new Craft.VueAdminTable({...options...}); to get this working : has to be new Craft.VueAdminTable().init({...options...}); instead.
Also table.$children[0].reload(); for picking up latest updates from front end.
Description
Trying to filter data in a VueAdminTable with data loaded via ajax/tableDataEndpoint, but could not figure out how to dynamically set a new tableDataEndpoint and refresh the data without reloading the whole page.
Something like
table.settings.tableDataEndpoint = 'main/ads/data?status=open'
+table.reload()
Is this even possible right now? (if not, this is a FR...)
/Aylin
The text was updated successfully, but these errors were encountered: