Quote from luishp on August 23, 2020, 6:16 pmVisualNEO Web can use any AngularJS directive. Probably the most useful is ng-repeat.
It allows to display JSON data collections in a very easy way. Plase take a look at the attached sample.
VisualNEO Web can use any AngularJS directive. Probably the most useful is ng-repeat.
It allows to display JSON data collections in a very easy way. Plase take a look at the attached sample.
Quote from Gaev on August 24, 2020, 12:11 am@luishp
This is a real hidden gem.
I believe you had informed us about it on this forum months ago; but I had forgotten. I wonder if this could be made easier by ...
- by defining the object to be repeated (template), as a separate Container/Dialog (with html or other inner objects)
- and somehow (perhaps via a neoCommand) linking the outer Container, the inner/template Container, and the array of json objectsThis kind of extended facility would make it very easy/efficient to show lists of composite objects (popularly deployed in smartphone Apps in Portrait Mode).
This is a real hidden gem.
I believe you had informed us about it on this forum months ago; but I had forgotten. I wonder if this could be made easier by ...
- by defining the object to be repeated (template), as a separate Container/Dialog (with html or other inner objects)
- and somehow (perhaps via a neoCommand) linking the outer Container, the inner/template Container, and the array of json objects
This kind of extended facility would make it very easy/efficient to show lists of composite objects (popularly deployed in smartphone Apps in Portrait Mode).
Quote from Palamar on August 26, 2020, 3:01 pmHola Luis;
Excelente ejemplo. Se podría realizar sin crear el array en el momento, sino traerlo desde afuera?. Estoy experimentando con Json traído desde Wordpress y si bien funciona bastante aceptable y los datos se acceden perfectamente, este hecho de insertar un elemento dentro de un objeto container a través de un Loop que contenga por ejemplo: "Nombre del post y autor" se hace excesivamente lento.
Gracias por los descubrimientos!
Hola Luis;
Excelente ejemplo. Se podría realizar sin crear el array en el momento, sino traerlo desde afuera?. Estoy experimentando con Json traído desde Wordpress y si bien funciona bastante aceptable y los datos se acceden perfectamente, este hecho de insertar un elemento dentro de un objeto container a través de un Loop que contenga por ejemplo: "Nombre del post y autor" se hace excesivamente lento.
Gracias por los descubrimientos!
Quote from luishp on August 26, 2020, 5:37 pmSi @palamar ¡claro! Esa es la idea: puedes traer el Array JSON desde una base de datos o desde Google Sheets o desde una consulta a una API de cualquier servicio externo.
Si @palamar ¡claro! Esa es la idea: puedes traer el Array JSON desde una base de datos o desde Google Sheets o desde una consulta a una API de cualquier servicio externo.
Quote from IoSoft on April 23, 2023, 6:28 am@luishp interesante, podría facilitarnos un archivo .neoapp de ejemplo, para un caso desde una gsheet...?
@luishp interesante, podría facilitarnos un archivo .neoapp de ejemplo, para un caso desde una gsheet...?
Quote from luishp on April 23, 2023, 8:26 am@iosoft te he respondido aquí:
https://visualneo.com/forum/topic/consulta-sobre-ng-repeat#postid-18936Saludos
@iosoft te he respondido aquí:
https://visualneo.com/forum/topic/consulta-sobre-ng-repeat#postid-18936
Saludos