I am trying to add Ratings Element graphic to show in a dynamic page table.
Is there a code I could add to a collection “rich html” field and link the number counts? Or can anyone share a better way to go about it?
Hi,
What exactly are you trying to achieve? You can simply connect the element to data to display it dynamically.
I want to be able to display the ratings in a table column along with other database data.
I can get the numbers to display but would like the visual graphic.
I am still looking for help on this. Still unable to display the graphic Ratings Element in a dynamic table row.
Do you mean by “dynamic table row” the Table Display Component (which gives you the possibility to display data inside a grid)? If so, it can´t be done: that thing does not allow you to incorporate other Wix graphical elements. Then you have 2 alternatives: use a Repeater formatted as a grid (table). That one does allow you to incorporate other (non-input) elements or … design 10 small PNG´s with 0 stars, 1/2 star, 1, star, 1 1/2 star etc, get the data, calculate in code how many stars you should display per row (using an algorithm equal to Wix) , prepare the array and hand that over to the grid. But that takes a bit of coding.
I thought as much. Thank you for the confirmation and clarity.