Hi there,
I was wondering if it is possible to create a itemDetailsTemplate in a childLayout because im trying to do it and i don't get any result.
the code im using is:
$("#basicJsonListView").igListView({ dataSourceUrl: url, responseDataKey: "data", bindings: { detailsTitleKey: "NUMOF", textKey: "DESC_ART", headerKey: "DATA_ENTREGA" }, childLayout: { key: "DETALHES", primaryKey:"NUMOF", ItemDetailsTemplate: "<div class='details-container'>
<h2>Código do Artigo: ${COD_ART} </h2> <p> Quantidade: ${QUANT}</p>
<p> Pedido: ${Pedido} </p> <p> Nº Encomenda (PHC): ${PEDIDO} </p>
<p> Observações: ${OBSERVACOES}</p></div>", }
});
Hello Pedro,
Thank you for contacting Infragistics!
I have done some looking into this matter and have some follow up questions. From what I can see this should be achievable. In your other post you mention having trouble getting the child layout to display is that still the case? Do you get any console errors? You can find this by opening the dev tools in the browser and going to the console tab and then running the page.