Our blazing fast Grid component built with pure JavaScript


Post by fcoca »

Hi,

Looks like there is an issue with tooltip and rendered config in ActionColumns.

Using the provided examples in: https://www.bryntum.com/docs/grid/api/Grid/column/ActionColumn

I have created this playground: https://codepen.io/javicloud/pen/KKXWERY?editors=0010 where the tooltip is not displayed when using the rendered config.

Please have a look

Thanks
Javi


Post by mats »


Post by fcoca »

Thanks for the quick response!


Post by fcoca »

Hi Mats,

Do we have a release date for the 4.3.5 version?

Regards
Javi


Post by alex.l »

Hi Javi,

No we don't. Usually we do releases every 2-3 weeks. But we cannot give you any exact dates, unfortunately.

All the best,
Alex


Post by fcoca »

Happy new year!
Looks like the fix is working only when renderer returns an html string but not when returning a https://www.bryntum.com/docs/grid/api/Core/helper/DomHelper#typedef-DomConfig

I have updated the playground to show both scenarios

https://codepen.io/javicloud/pen/KKXWERY

Is there anything I'm missing to make the tooltips works on the ActionColumn using the DomConfig?

Regards
Javi


Post by mats »

When using DOM config objects, you should use this construct for tooltips:

 renderer : ({ action, record }) => {
                    return {
                        dataset : {
                            btip : 'foo'
                        },

Post by fcoca »

It is working, thanks.

Is there any documentation about all the dataset properties available?

Can we assume that btip is not going to change in the future?

Thanks and regards
Javi


Post by alex.l »

dataset is an HTML attribute https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes

Yes, btip won't be changed and used to provide data about tooltip text https://bryntum.com/docs/grid/api/Core/widget/Tooltip

All the best,
Alex


Post by fcoca »

Thanks!


Post Reply