:: Forum >>
how to call a function when clicked specific column/row ?
I need to add a 'delete' column in my grid.
I want to be able to delete any row just by clicking the corresponding delete cell besides.
So, by clicking the cell I need to retrieve by a function the row index.
Monday, August 14, 2006
Never done it before. But I'm thinking you could put a "trashcan" image in the column and assign an onClick event to the img tag 9used to display the trashcan image) that passes "row" to the function.
In that function you could do something like:
Note, I do use the deleteRow function. If you'd like I could probably put together a quick example tailored to your needs. It might take me a day. Let me know ----- email@example.com
Thursday, August 17, 2006
This topic is archived.
Back to support forum