I’m facing the issue, I have a repeater connected to a dataset and details button which on clicked have event handler opens a light box passing
wixWindow.openLightbox(‘info’, $w(’ #dynamicDataset ').getCurrentItem());
and on lightbox using getcontext() I’m filling all info in LightBox but it always show only first container’s items.
export function searchContainer_mouseIn(event, $w) {
let currentItem = ($w(“#dataset1”).getCurrentItem());
console.log(currentItem);
}
not working, But strange when I add button with link to another dynamic page of same collection with link for example: /page/{_id} the it show the data matching the repeater data
@milanjoshi19 The code works, therefore you must not have implemented it correctly. You probably wrote the wrong ID for your for your container or the wrong ID for your dataset or something like that.
@mikemoynihan99 Thank you very much it worked.