We are planning to build mobile based web application for our existing customer. We have totally 1000 customers approximately but they are having different models and different sizes (screen size).
What is the best way to handle this situation? i tried buildings few pages using dhtmlx touch controls in my web application but it does not appearing correctly in all mobiles, in some mobiles it goes out of screen.
please find attached one sample, i just created accordion controls it starts in the middle of my mobile. How to handle this?
Let me preference my comment with: I am a also a user, I am not dhtmlx support, so they may provide better advice.
Anyway, looking at the code, I would write it a bit differently. Allow dhtmlx to completely build the page using their libraries. That means, stop putting components inside of
Then include your own javascript file and immediately do this:
dhx.ready(function(){
dhx.ui({
..\\ here you will place any component you would like to place on a page
})
}
The dhx.ready() function will fire when the page has been loaded.
Then add what you want to display inside of dhx.ui()
And this will get you started in a great direction.
As far as supporting different devices: vastly different devices like an ipad and iphone should have 2 different layout and the only way I am aware to do this by detecting the device and running whichever layout you want to show.
This would entail creating 1 ui for the ipad and 1 ui for the iphone. Each UI can share lots of common code, like form validation, ajax handling, events, and etc…
Hope this helps a bit.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan