Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

ListGrid hover stop showing in SmartGWT 4.0

$
0
0
Hello,

in our Project we switched lately from SmartGWT 3.x to SmartGWT 4.0.
We noticed that default hovers/tooltips of listgrid cells which used to show in SmartGWT3 stop showing in SmartGWT4.

This is also visible in the current showcase.


For Example in the "Hovers / Tooltips" screen according to its description:

"Hover over the button, the image, the "Interesting Facts" field of the grid, and the "Severity" form label to see various hovers."

There should be a tooltip showing over the "interesting Facts" field - this doesnt happen.


The same happens in the "Value Hover Tips" screen. After pressing "Show hover on every cell" button only the Goverment Column shows tooltips.


It seems that setting "canHover" to "true" only works when field's "canHover" was set to "true",
but according to the code example in showcase setting the value on the listgrid should overide fields' settings:
Code:

  everyCell.addClickHandler(new ClickHandler() { 
            public void onClick(ClickEvent event) { 
                // When canHover is true on a ListGrid, cells will show hover text unless field.showHover is false 
                countryGrid.setCanHover(true); 
            } 
        });


Is this a desired behaviour or a bug in the new Version and will you correct it?

Viewing all articles
Browse latest Browse all 4756