Re: [Java-gnome-developer] Problem with TreeView
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2005-10-06 17:51:41
|
On Thu, 2005-06-10 at 10:37 +0200, Ralph Henneberger wrote: > i have a Problem with the TreeView. ... i will selectet a Column by default. The default > Column is by the most start diffrent. Are you confusing sorting with searching? Sort column: TreeViewColumn account_ViewColumn; ... account_ViewColumn.setTitle("Account"); account_ViewColumn.setClickable(true); account_ViewColumn.setSortColumn(_accountTitle_DataColumn); Search column: > tvBouquet.setEnableSearch(true); > tvBouquet.setSearchDataColumn(dc[1]); or use TreeModelFilter's setVisibleMethod(new TreeModelFilterVisibleMethod() { ... }) AfC New York -- Andrew Frederick Cowie Managing Director Operational Dynamics Consulting Pty Ltd http://www.operationaldynamics.com/ Management Consultants specializing in strategy, organizational architecture, procedures to survive change, and performance hardening for the people and systems behind the mission critical enterprise. Operating Worldwide: Sydney +61 2 9977 6866 New York +1 646 472 5054 Toronto +1 416 848 6072 London +44 207 1019201 |