[Pas2js] TCustomTableWidget

Michael Van Canneyt michael at freepascal.org
Tue Nov 24 16:00:35 CET 2020

On Tue, 24 Nov 2020, Michael Van Canneyt wrote:

> On Tue, 24 Nov 2020, heliosroots wrote:
>> I am creating a descendant of TCustomTableWidget, where I would like to
>> define columns as visible and invisible .... more the TTableWidgetCellData
>> does not allow changes even if I inherit it.
>> <http://pas2js.38893.n8.nabble.com/file/t17/Screenshot_20201124_102647.png>
> Please explain in more detail, I don't understand what you need ?

I added a virtual function "RenderColumn" to the column.

home:~/P2JS/trunk/packages/webwidget> svn commit -m '* Added rendercolumn, so columns can be disabled' htmlwidgets.pp
Sending        htmlwidgets.pp
Transmitting file data .done
Committing transaction...
Committed revision 950.

If you need more, let me know.


More information about the Pas2js mailing list