Web Connection
Re: wwshowcursor and center
07/01/2009
05:12:42 PM
2OT10W60C Show this entire thread in new window
From:
Stein Goering
To:
Paul Summerfield
Attachments:
None
Is there a way to Center every column ?

Use the cExtraTableTags property in wwShowCursor to set a class on your table:

cExtraTableTags=[class="wwTable"]

Then apply the necessary styling to the class:

.wwTable td /* Style for cells in Generated Tables */
{
background-color: #dee8f4 ;
padding: 3px 2px 3px 2px;
text-align: center;
}

--stein

Still using 4.68 so cannot use wwWebDataGrid

Paul


You have no control over individual columns with show cursor. It's a generic tool - if you need something more specific you should write the code to render the table manually.

As Mike points out there's much more control with the wwWebDataGrid control in the Web Control framework where every cell has a number of formatting options.

+++ Rick ---

I need to center the information in my Colum’s when using wwShowCursor
Is there a way to do that ?

Thanks

Paul