Project

General

Profile

How can I put WPushButton in the cell WAbstractTableModel

Added by Everton Fonseca about 6 years ago

I need to put a WPushButton in the WAbstractTableModel cell because when the button is pressed it will remove a selected line from WTableView.


Replies (1)

RE: How can I put WPushButton in the cell WAbstractTableModel - Added by Wim Dumon about 6 years ago

Hi,

The easiest way is to use a WItemDelegate, to render a pushbutton for a particular column in your view.

Regards,

Wim.

    (1-1/1)