Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: IMAGE on titel of an array ...  (Read 7142 times)
Benjamin G.
Posts: 130


« 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




* ScreenShot074.jpg (21.7 KB, 553x193 - viewed 2080 times.)
Reuben B.
Four Js
Posts: 1119


« Reply #1 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.


Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines