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