You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Mind Bridge <mi...@yahoo.com> on 2005/09/23 19:15:06 UTC

Re: Defalut sorted column

Hi,

According to your code the column ID is 'Date', rather than 'date'. 
Thus, please try

<static-binding name="initialSortColumn" value="Date"/>

or if you use the T4 format of the JWC rather than the T3 one, please try

<binding name="initialSortColumn" value="literal:Date"/>


Ananya Goswami wrote:

>Hi All !!!
>
>		I am using tapestry 4 in my application and using the
>contrib.:TableView component to get a sortable table displayed in my page. 
>		The problem is that I want Date column  to be the default
>sorted column when the page is displayed.
>
>
>		<component id="membersTableView" type="contrib:TableView">
>     			<binding name="source" value="users"/>
>        		<binding name="columns">Name :name, Type :
>type,Date:date, 			</binding>
>        		<binding name="pageSize" value="10"/>
>        		<static-binding  name="initialSortColumn"
>value="date"/>
>   	     </component>
>
> 	<component id="membersTableColumns" type="contrib:TableColumns" >
> 	</component>
> 	<component id="membersTablePages" type="contrib:TablePages">
> 	</component>
> 	<component id="membersTableRows" type="contrib:TableRows" >
> 	</component>
> 	<component id="membersTableValues" type="contrib:TableValues" >
>	</component>
>
>
>
>Thanks & Regards
>-----------------------------
>Ananya Goswami
>Software Developer
>
>-----------------------------
>mail: ananyag@aztec.soft.net
>mob: 09886886320
>ph: 080-57561000
>extn:3720
> 
>
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org