Just getting started with WeWeb after putting a fair bit of time into getting my backend functionality working with XANO.
Couple of issues I ran into whilst playing around this morning.
1) Number formatting (or custom formulas) in Data Tables -
Have been trying to format the output on one of the columns in the data table so that it shows as a % rather than a raw decimal, so set it to type ‘custom’ and put in a formula.
The ‘current value’ in the formula comes up with the right figure, but then nothing appears in the data table itself, listing as ‘empty list’
2) Displaying all values from an object in a table form
I’m looking to display the full set of contract parameters on a page (view only on this page, but ability to edit in same structure on a separate page). Created a variable containing the object I’m bringing back and was hoping just to display that as a table with the keys in column A and values in column B (and ‘edit value’ button in the future next to each value)
What would be the easiest way of doing this with WeWeb? Realise I can create two text boxes and type in they key for the first, link to the value for the second and repeat this 20 times manually, but guessing there’s an easier way of achieving this
In your first picture you are binding the value of the item of the flexbox of the cell. In this way you are trying to create a list inside every cell but the formula is returning a string, so weweb complains that the binding is an empty list.
you have your column in the datagrid set to custom element