0
I have a set to set up a grid on frontend
, but I’m not getting to ride.
I get from my backend um JSON
that contains a list. This list has two fields: Order and Size, and to mount on screen, the Order field will be the title (ranging from 00 to 14) and the size will be the value of imput. Does anyone know how I can implement this? I’m using AngularJS
.
Detail: after mounted, and if it is updated, I must return these values by doing a new parse so that it goes back to the original list. Thanks in advance for the help.
I don’t quite understand your question. Is your question about how to pass this data you get from the database to the front end screen? Is that it? If yes, what is your code in Angularjs that receives the data from the backend?
– celsomtrindade
Juvêncio, post an example of JSON received - this will help formulate answers.
– OnoSendai
Celsomtrindade, my doubt and that I get the JSON below and need to "mount" a line of imputs with Title(will be the label) and Description(will be the imput). Celsomtrindade, my doubt and that I get the JSON below and need to "mount" a line of imputs with Title(will be the label) and Description(will be the imput). This is the JSON: {"ID":1, "Description":"Shoe grid","gradeOrdem":[{"idGrade":1,"ID":1,"Order":"01","Size":"38" },{"idGrade":1,"ID":2, "Order":"02", "Size":"39"},{"idGrade":1, "ID":3, "Order":"03", "Size":"40"},]}
– Juvêncio Leite