HTML5 Data Bindings Support Product Page


Data source options for views

Asked 21 Nov 2013 04:48:18
have this question
21 Nov 2013 04:48:18 Adam Reed posted:
Why is it not possible to use views when creating data sources? Also, is there any plan to increase the ability to customize queries? Views would help but for example, i wanted to join 2 tables where the second was a count of records that matched the primary table.


Replied 21 Nov 2013 20:35:36
21 Nov 2013 20:35:36 George Petrov replied:
Hi Adam,

We will add support for views in the next update to be released in one or two weeks.

Replied 21 Nov 2013 21:14:12
21 Nov 2013 21:14:12 Adam Reed replied:
Excellent news! I was able to fake it for a small table by copying the existing file for the dataset and changing the table info over to the view. That should solve the problem of complex select statements, group by's, etc as well since I can handle those in the view.

One other question I had relates to using the results in PHP or jQuery scripts. I tried just to copy the {{field}} into the code but it didn't like it. I was able to use HTML5 data selectors and put the result there and then use jQuery to parse that, but wondering if there is another way.


Reply to this topic