Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting header text of a DisclosurePanel dynamically while preserving the arrow icon?

I'd like to set the text in DisclosurePanel's header without having to re-construct the image/icon used by the default header.

Using customHeader means the arrow-icon is lost, in other words that seems like unreasonable amount of extra work.

EDIT: There's actually method for that, getHeaderTextAccessor(String)

like image 745
Jaroslav Záruba Avatar asked Sep 05 '10 07:09

Jaroslav Záruba


1 Answers

getHeaderTextAccessor(String)

like image 50
Jaroslav Záruba Avatar answered Nov 14 '22 23:11

Jaroslav Záruba