separator

popup property to specify separator for attach list

object separator;

Example

var myPop = new dhtmlXPopup(...);
myPop.attachList(
    "name,price",
    [
        {id: 1, name: "Audi A5 Coupe", price: "€ 31,550"},
        {id: 2, name: "Audi A5 Sportback", price: "€ 30,990"},
        myPop.separator,
        {id: 3, name: "Audi A6", price: "€ 30,990"},
        {id: 4, name: "Audi A6 Avant", price: "€ 37,450"},
        {id: 5, name: "Audi A6 Quattro", price: "€ 55,360"}
    ]
);

Back to top