Page 2 of 2

SMiley

Posted: Tue Dec 17, 2013 4:23 pm
by Ashok

Hello Katya Yakusheva,
Thank you for your help the above code worked out fine.... I am now facing a new problem... I have a grid component in my app when i map the elements of parse on to the components in a grid the mapping goes vertically by default one below the other suppose i want the mapping to work in a horizontal fashion what shud i do i.e one besides the other ?
In other words i want the mapping to working to grid cells horizontally rather than the normal vertical default setting...pls help me


SMiley

Posted: Tue Dec 17, 2013 6:53 pm
by Kateryna Grynko

Hi Ashok,

Take a look at here please: https://getsatisfaction.com/apperyio/...


SMiley

Posted: Wed Dec 18, 2013 4:24 pm
by Ashok

Thank you Katya,
that worked out fine...Thank you for the favour,
i am facing another problem,.. i have an app in which i am using a GET service to retrive information from my parse database and then i am mapping all those stuffs in to an html panel .. my mapping is as below
Image

in the html i am just using a simple html tags like below

html
body
h1 the value of the mapped USername is ?????? /h1
h1 the value of the mapped Bday is ?????? /h1
h1 the value of the mapped Gender is ?????? /h1
/body
html

{the above code hasn't been put tags coz the text editor is executing the html}

i want to replace the "?????" with the value which i am getting using the Get Service i.e. the contents from my DB so pls cud u help me with this.... assist me on what changes must be performed on the code..?..if the method used is incorrect cud u pls help me with another appropriate method to achieve this


SMiley

Posted: Wed Dec 18, 2013 6:19 pm
by Kateryna Grynko

Hi Ashok,

I'd recommend you to use Grid component (http://docs.appery.io/documentation/u...) with Label components inside. You can set Labels text size using CSS.


SMiley

Posted: Thu Dec 19, 2013 2:21 am
by Ashok

I was supposed to add this to html component specified in the requirements for this app...aint there a solution for it?


SMiley

Posted: Thu Dec 19, 2013 9:15 am
by Maryna Brodina

Hello!
1) There shouldn't be html, head, body tags in html
2) Add JS in mapping and do any replacement you need.


SMiley

Posted: Sat Dec 21, 2013 11:27 am
by Ashok

thanks Maryna Brodina .....that worked out fine

I have a settings button which on click opens up the following pop up:

Image

the font size is a select menu which has small medium and large as options ....
on font size select i want my entire project to have a particular font size....for eg on click of small i want my project to have 12,
on medium i want my project to have 14
on large i want my project to have 16

and the other option is theme which is a toggle component having the option Light and Dark and on Select i want the entire app to have a particular swatch pls help me


SMiley

Posted: Sat Dec 21, 2013 11:34 am
by Alena Prykhodko