Page 1 of 1

Is there a way to add controls into sliding panel which is created on fly?

Posted: Sat May 11, 2013 11:35 am
by Sbee

I have created JQM left sliding panel and now I like to populate it with control element and like to have those user input recorded in back-end service.

Question:

  1. Can I use the IDE control in my custom panel?
  2. How to connect appery back-end service from my control.

Is there a way to add controls into sliding panel which is created on fly?

Posted: Sat May 11, 2013 11:46 am
by Igor
  1. I'll update about this.
    1. Please look at our tutorials about Backend_Services http://docs.appery.io/tutorials/#Appe...

Is there a way to add controls into sliding panel which is created on fly?

Posted: Sun May 12, 2013 3:55 am
by maxkatz

As you created the on the fly (via JavaScript), any components would need to be add in the same way.


Is there a way to add controls into sliding panel which is created on fly?

Posted: Sun May 12, 2013 4:10 am
by Sbee

Moroz & Katz,

Thanks for the response.

I think I have not explained my question correctly, My question was more like to include an existing page into the sliding panel.

If i can do that, then I will use the IDE to drag and drop the required element position them and also use data mapping to map UI with dataservice on a regular page which is much easy for me and then add it into the sliding panel.

-Balu


Is there a way to add controls into sliding panel which is created on fly?

Posted: Sun May 12, 2013 4:14 am
by maxkatz

You could... but not via drag and drop.


Is there a way to add controls into sliding panel which is created on fly?

Posted: Sun May 12, 2013 4:25 am
by Sbee

Thanks can you help in how to write such functionality, do you have some example or link?


Is there a way to add controls into sliding panel which is created on fly?

Posted: Sun May 12, 2013 9:10 pm
by maxkatz

It's just using jQuery API to add elements to the DOM.