Page 1 of 1

Grid component handling inside a listItem

Posted: Thu Aug 14, 2014 4:14 am
by Cody Blue

I have placed labels and a grid component inside a listItem (please see screenshot). The listItems are populated via a REST service. Based on the values returned from the service, I want to dynamically place images inside the grid-elements of a given listElement.

If the gridcells are labelled gridcell_1, gridcell_2, gridcell_3, my questions are:

1) How can I access the grid_cells above inside function(value, element) mapping to ListItem via JS?
2) How can I place images stored in the image gallery in above grid cells via JS?
3) Finally there is an issue, when I place the grid element and set the List button icon to no-icon in Appery component, I get a circular shadow on the right (please see screenshot-2). How can I erase this - this seems to be a bug.

Many thanks.

Image

Image


Grid component handling inside a listItem

Posted: Thu Aug 14, 2014 7:47 am
by Evgene Karachevtsev

Hello Cody,

1) Please use this code
pre$(element).find("[name=gridcell_1]");/pre
2) Please look at this documentation: http://devcenter.appery.io/documentat...
3) I can't reproduce this, could you please specify, do you use custom CSS code? What version of the libraries?
Image


Grid component handling inside a listItem

Posted: Thu Aug 14, 2014 6:23 pm
by Cody Blue

Hi Evgene,

Thanks for the feedback. I am working with V2.0 libs. I'll next send a note to support@appery with details.

Thanks.