Basically i am listing some locations in a datagrid. When a user clicks a location, a function is called which opens a marker on a Google map.
in case of using link column type - you can set the function as the second parameter:
or you can set onRowSelect event handler that is called when cell clicked:
/your code here/
Please check the sample in the grid package dhtmlxGrid/samples/01_cell_types/04_link_grid.html. Here the second row calls JS function when link is clicked.
If the issue isn’t solved, please provide the complete demo to recreate it
Adding - ;^_self seems to have solved the problem
This helped me, thank you Scott.
I have another problem with the link in grid.
My data in grid is retrieved from database, how can I created a link for a cell or a row? So far, the sample I found is XML file.
Do I need to create a link field in database?
If you are using connector for data generation, you can use beforeRender handler, to add formatting to the content ( convert plain text link to HTML link )
Many thanks! it does sort our my problem.