Hi,
I use firebase with Webix. In a particular case, I am able to perform “select” on my transaction records. I need to populate the data table with these records. How do I do that? Can I mention url:myFunctionToFetchFirebaseData? This function is quite elaborate. Please help.
In this case, a customer logs in and I want to show him only his transactions residing in the transaction data.
Hi,
Have you seen GitHub - webix-hub/webix-firebase: Firebase adapter for Webix UI
Check webix-firebase/14_firestore_collection.html at master · webix-hub/webix-firebase · GitHub
Here db.collection("books")
can be replaced with any other firebase code which returns a dataset.
Also, in a common case, you can use any js code which returns a data ( or a promise of data ) with component like
{ view:"list", data:myCode() }
or $$("someList").parse(myCode());