3.0.0

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.

Thanks,

john
August 14,
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:
myGrid.deleteRow(row)

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 protected]
Carl
August 17,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.