get the arrow on column header data table
<t:commandSortHeader columnName="spclMngmtAreaNm" arrow="true"
immediate="true">
i am using <t:commandSortHeader with t:dataTable ,
when form intialize this arrow on datatable not showing.
when i click on column header only showing arrow .
how to show arrow on datatable column by form inilize.
thanks
siva>
[444 byte] By [
sivasaia] at [2007-11-27 8:35:03]

# 1
The easiest way to do this: set a default value for the sort column in your backing bean.
Example:
private String sortColumn="firstName";
public String getSortColumn() {
return sortColumn;
}
<t:dataTable sortColumn="#{yourBean.sortColumn}" ... />
On page load, the arrow is set by default to the firstname column.
Best Regards,
Dimi
Dimia at 2007-7-12 20:31:28 >
