Page 1 of 1

List component displays result differently on different screens

Posted: Mon Feb 25, 2013 2:20 pm
by Jahmarley

Image

The images above are testings showing results from 2 different screens in my app... Do you know the reason why the list component is displaying results differently on different screens when multiple results are returned?

Thank you


List component displays result differently on different screens

Posted: Mon Feb 25, 2013 2:57 pm
by Maryna Brodina

Hello! It seems it depends on mapping. Could you send us screenshots where you map results to List/Listitem?


List component displays result differently on different screens

Posted: Mon Feb 25, 2013 3:18 pm
by Jahmarley

Hi Marina,

Hope ur having a good day today.

See below for the screen shots of mapping:

Business Screen Mapping:
Image

Government Screen Mapping:
Image


List component displays result differently on different screens

Posted: Mon Feb 25, 2013 6:37 pm
by Reiner Saddey

Don't think it's a mapping issue. Wld suspect screens have different structure, e.g. single grid on one screen and nested grids on the other. In turn CSS selectors applying different styles to grids nested within grids and grids nested within list items.


List component displays result differently on different screens

Posted: Mon Feb 25, 2013 7:33 pm
by Kateryna Grynko

Hello, it's a bug.

There is a workaround for you.
For DataSource, on Success event add Run JavaScript action with the following code :codeTiggzi("mobile_list_component_name").listview('refresh');/codeReplace "mobile_list_component_name" with mobile list component name where mapping is.

The reason of error is "Render as one HTML file" ticked. If you delete it this also can help.


List component displays result differently on different screens

Posted: Mon Feb 25, 2013 7:46 pm
by Jahmarley

Katya,

Thank you once again for your response.

I have unchecked Render as one HTML file and the problem has been resolved. I had ticked it at one point as a test and forgot to untick it. :).

Thank you again.

and thanks for your response Reiner Saddey.


List component displays result differently on different screens

Posted: Mon Feb 25, 2013 7:47 pm
by Kateryna Grynko

You're welcome :)