Project

General

Profile

Custom cells in WTableView

Added by Paul T... almost 8 years ago

Hello,

I'd like to have a table similar to the custom table model (with vertical and horizontal scrolling)... excepted that I want the cell to be customs : a custom painted widget that will display more than just text.

Is it possible ? Do you have any samples, examples ?

Best regards,

Paul


Replies (2)

RE: Custom cells in WTableView - Added by Roel Standaert almost 8 years ago

Hi,

You can do this by making your own implementation of WAbstractItemDelegate. There's not really an example at the moment, except for the implementation of WItemDelegate itself, which can be a bit confusing.

Regards,

Roel

RE: Custom cells in WTableView - Added by Diwakar Kumar almost 8 years ago

Demo example is available at: https://www.webtoolkit.eu/widgets/trees-tables/mvc-table-views

Use ctrl+F key and type "Customizing cell rendering" on the landing page to navigate.

Regards,

Diwakar

    (1-2/2)