GUIKit: How to set up a "tableHeader" in table
- To: mathgroup at smc.vnet.net
- Subject: [mg107361] GUIKit: How to set up a "tableHeader" in table
- From: Andrey <andrey.siver at gmail.com>
- Date: Wed, 10 Feb 2010 03:37:46 -0500 (EST)
Hello,
Where could I learn how to set up a "tableHeader" in the "table"
Widget?
There is a code in the documentation:
ref @ SetPropertyValue[{"myTableModel", "columnIdentifiers"},
{"One", "Two", "Three"}]
(where ref is GUIKit`GUIObject like this:
ref = GUIRun[
Widget["Panel", {
Widget["ScrollPane", {
"preferredSize" ->
Widget["Dimension", {"width" -> 200, "height" -> 110}],
"viewportView" -> Widget["Table", {
"items" -> {{"a1", "b1", "c1"}, {"a2", "b2", "c2"}},
PropertyValue["model", Name -> "myTableModel"]
}, Name -> "myTable"]
}]
}]
]
)
But is it possible to set up the header via property set?
There is property "tableHeader" for "table" Widget but it's not
obvious how to set it up.
Regards,
-Andrey