In GXT 2, you simple declare a GridCellRenderer for that column, and return the button (or any other widget) that you want to have drawn. Be aware that there are performance implications of drawing widgets, since that will be a new widget in each cell in that column.

You can return either html or css from GridCellRenderer. It is possible to emit html instead of the Button widget, and listen for Event.CellClick from the grid and handle the click that way. This will be more efficient, but may take more effort to set up.

In GXT 2, you simple declare a GridCellRenderer for that column, and return the button (or any other widget) that you want to have drawn. Be aware that there are performance implications of drawing widgets, since that will be a new widget in each cell in that column.

You can return either html or css from GridCellRenderer. It is possible to emit html instead of the Button widget, and listen for Event.CellClick from the grid and handle the click that way. This will be more efficient, but may take more effort to set up.

I implemented listener for the cellclick firstly but how to set an image for the cell? Or in case I'll finally decide to use buttons, how to find in which row the button was pressed to delete the right row? looK: