Connecting a specific column of wix table with a light box on a dynamic page.

Hi,
I am trying to connect a specific column of wix table with a light box on a dynamic page. I have no idea of programming codes but trying to understand how it works. Kindly help me how I can do this. I tried to arrange these lines of code but its not working.

import wixData from ‘wix-data’;
import wixLocation from ‘wix-location’;
import wixWindow from ‘wix-window’;
import wixEvents from ‘wix-events’;
$w.onReady( function () {
$w(‘#MembersGST’)
let cols = $w(‘#table1’).columns
$w(cols).Array(“gstr3BFeb20”).onCellSelect.onClick()
$w(‘#MembersGST’).getCurrentItem();
wixWindow.openLightbox(‘MembersGST’)
})
export function filterButton_click(event) {
$w(‘#GSTclientsDataset’).setFilter(wixData.filter().contains(“tradeName”, $w(‘#filterInput’).value))
//Add your code for this event here:
}

Hi.

It’s unclear what you wish to achieve. If you want to pass data from a table cell to a lightbox when the cell is clicked, then you need to add an onCellSelect event as per our API here and then use the context property of the lightbox to open it and pass data.

Should you need further assistance, please include screenshots of your site, and URLs to make it easier for others to understand the problem.

Good luck!

Hi Sam,
I have an index page of members’ data which is shown by a table. One of its column shows return filing status of a month. table shows only one month data at a time to avoid cluttering. I want to display status of all 12 months in a particular row if cell is clicked by the user through through a light box. Light box is connected to same data collection but it has to read row id and pick values of that specific row.

Hope someone will help me out.
Thanks a lot.