No announcement yet.
  • Filter
  • Time
Clear All
new posts

    SmartGWT 12.0 to 12.1 TreeGrid's getCellCSSText display problem

    ​i met some problem in TreeGrid's getCellCSSText on smartgwt 12.1 (the same code in smartgwt 12.0 is fine) . ​
    Click image for larger version

Name:	Screenshot_20220415_170408.png
Views:	57
Size:	426.9 KB
ID:	267896

    for example in pic ,the cell 's word over two line , when the mouse in fourth cell , the focus is in sixth cell .
    and click function is not correct ( click fourth cell select sixth cell) .
    more and more two lines cell ,the offset is more over .

    Click image for larger version

Name:	Screenshot_20220415_170425.png
Views:	38
Size:	499.7 KB
ID:	267897
    and then when i expand the cell 's Width ,making the word display in one line , the focus and click is correct .

    Click image for larger version

Name:	Screenshot_20220418_155835.png
Views:	45
Size:	184.9 KB
ID:	267898
    • Smartgwt version 12.0、12.1 builds in 2022/04/15
    • GWT version 2.9.0
    • JDK java 1.8
    • google chrome 99.0.4844.51
    could i need change some code ?

    Are you saying that you think your getCellCSSText() override is being passed an incorrect column coordinate? If so, how can we reproduce this?

    Have you checked whether getEventCol() is returning the same value?