а

dhtmlxList in mobile mode


#1

Hi Guys,

I maybe overthinking it, but i’m struggling to get dhtmlxList into a mobile style format.

Much like dhtmlxTouch has where the items are larger, spaced for mobile friendliness.

Hope you can help.

E


#2

You may define the height of your list item using the “height” attribute.
For example:
myList = new dhtmlXList({
container:“data_container”,
type:{
template:"#name#.
#address#
#city#, #state#",
height:70 // the height of the list item
}
});
myList.load("…/common/list.xml");


#3

Thanks, it works.