Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by JesperZedlitz: http://wiki.apache.org/tapestry/Tapestry5GridComponent New page: == How to re-order columns == To change the order of columns in a Grid component you can add the "reroder" attribute: {{{ <t:grid t:source="list" reorder="id,firstname,lastname"/> }}} == How to hide a column == If you want to hide a column from the Grid: {{{ <t:grid t:source="list" remove="id"/> }}} == How link a entry to another page == The persons's lastname shall be linked to a page "person/$ID" {{{ <t:grid t:source="list" row="person"> <t:parameter name="lastnameCell"> <t:pagelink t:page="person" t:context="person.id">${person.lastname}</t:pagelink> </t:parameter> </t:grid> }}} == How to add an extra column == You want to add an extra column called "details" to each line that does not have a field in the POJO: {{{ <t:grid t:source="list" row="person"> <t:parameter name="detailsCell"> <!-- just invent a cell name --> <t:pagelink t:page="person" t:context="person.id">${person.lastname}</t:pagelink> </t:parameter> </t:grid> }}} --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
