Index: main/src/com/smartgwt/client/data/DataSourceField.java =================================================================== --- main/src/com/smartgwt/client/data/DataSourceField.java (revision 1490) +++ main/src/com/smartgwt/client/data/DataSourceField.java (working copy) @@ -780,6 +780,27 @@ public String getName() { return getAttributeAsString("name"); } + + /** + * Causes a tooltip hover to appear on the header generated for this data source field (effectively sets {@link + * com.smartgwt.client.widgets.Canvas#getPrompt prompt} for the header). + * + * @param prompt prompt Default value is null + */ + public void setPrompt(String prompt) { + setAttribute("prompt", prompt); + } + + /** + * Causes a tooltip hover to appear on the header generated for this field (effectively sets {@link + * com.smartgwt.client.widgets.Canvas#getPrompt prompt} for the header). + * + * + * @return String + */ + public String getPrompt() { + return getAttributeAsString("prompt"); + } /** * Whether this field holds a value unique across all records in this DataSource.

A DataSource that can