Can you suppress Smart GWT's TreeGrid from showing icons when there is only 1 element?

StackOverflow https://stackoverflow.com/questions/20840492

  •  22-09-2022
  •  | 
  •  

Вопрос

I am using Smart GWT 4. I have data to present that may or may not have children. I decided to display this information in a TreeGrid. It looks fine when there are children to display but in the cases where a data element does not have children there is an image of a circle with a dot where the plus sign would be if there were children. Is there anyway to suppress this?

Это было полезно?

Решение

There is a method setShowOpener(boolean) on the TreeGrid that allows you to turn on/off.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top