Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Suggested Documentation Addition

$
0
0
I just discovered that alignment of fields in a ListGrid can be dictated in the ds.xml file as follows:

Code:

<fields>
        <field name="totalCost" title="Total Cost" type="double" hidden="false"  canEdit="false" align="center"  /> 
</fields>

This is not documented as a setting allowed in a DataSource descriptor in the java doc http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/docs/serverds/DataSource.html

I found it useful and thought you might want to add it.

Best regards,

Andrew

Viewing all articles
Browse latest Browse all 4756

Trending Articles