Hi George,

First, the DataTable do not use the Grid component ;). It is based on the
GridModel like the Grid component
.
You can maybe center the header directly in CSS ? without adding a "center"
CSS class.

For the blank header, you can override each header, by defind a :
<p:detailHeader></p:detailHeader>

Manu



2013/2/11 George Christman <gchrist...@cardaddy.com>

> Hello, I'm working with jquery datatable which uses the tapestry grid
> component and I'm trying to add a detail column to my grid.
>
> I've done the following thus far which appears to be working,
>
> <t:jquery.datatable class="datatable" t:id="dataTable" t:source="prs"
>                      t:mode="false"
>                      t:options="options"
>                      rowsPerPage="25"
>                      t:model="model"
>                      t:row="pr"
>                      t:add="detail">
>         <p:detailCell>
>              <${context:images/details_open.png}>
>         </p:detailCell>
>     </t:jquery.datatable>
>
> What I would like to do is add a class "center" to the first column td of
> each row along with replacing the header name "detail" with a blank choice.
>
> It should look like the following when completed,
> http://datatables.net/release-datatables/examples/api/row_details.html
>
> Is there a way to accomplish this task without the use of javascript?
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Customize-Column-in-Tapestry-Grid-tp5719935.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Emmanuel DEMEY
Ingénieur Etude et Développement
ATOS Worldline
+33 (0)6 47 47 42 02
demey.emman...@gmail.com
http://emmanueldemey.fr/

Twitter : @EmmanuelDemey

Reply via email to