Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: Benjamin G. on December 15, 2021, 02:18:12 pm



Title: IMAGE on titel of an array ...
Post by: Benjamin G. on December 15, 2021, 02:18:12 pm
Hi,

We can provide a image column attached to a cell of an array (see sample) but it's possible to do the same thing with the title of the array (on my sample i want to put an image near "semaine" ...) ?

Thank you
Regards




Title: Re: IMAGE on titel of an array ...
Post by: Reuben B. on December 19, 2021, 11:02:07 pm
The better terminology I suspect is that you want to use an Image as part of a Table Column Title.  This could probably be achieved now via GBC customisation of js/base/widget/widgets/containers/TableColumnTitleWidget.tpl.htm .  Use the TAG attribute to store the image name.

I did discuss this as part of my presentation at WWDC21, see pages 15/16 of my recent presentation A6 - Roadmap Table Enhancements where I discussed richer table headings.  Things you would need to consider, are what would appear with FLIPPED and also if you bring up the dialog to show/hide columns.

Note: If you want the image to be for the whole Table, and not the TableColumn, you can wrap the TABLE in a GROUP and use TEXT and IMAGE properties of  the GROUP to give a title to the whole TABLE.