Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
460
How to create a details template in javascript
posted

Hi there,

I'm trying to create a detalis template on the mobile igListView with javascript and the only sample i found its done in HTML.

Can someone help me doing it with javascript?

Parents
No Data
Reply
  • 460
    posted

    I'm doing it like this:

    $("#basicJsonListView").igListView({
    dataSourceUrl: url,
    responseDataKey: "data",
    bindings: {
    detailsTitleKey: "NUMOF",
    textKey: "DESC_ART",
    headerKey: "DATA_ENTREGA"
    },
    childLayout:{
    key: "DETALHES",
    primaryKey:"NUMOF",
    descriptionKey:"OBSERVACOES",
    ItemDetailsTemplate:"${COD_ART}",
    }

    });

    But i can't create the childLayout. What am i doing wrong?

Children