{
gcolumn = (GdaExGridColumn *)g_ptr_array_index (priv->columns, col);
g_string_append_printf (str,
- "\t<th>%s</th>\n",
- gdaex_grid_column_get_title (gcolumn));
+ "\t%s\n",
+ gdaex_grid_html_column_get_header (gcolumn));
}
g_string_append (str, "</tr>\n");
return priv->vcolumn;
}
+gchar
+*gdaex_grid_html_column_get_header (GdaExGridColumn *column)
+{
+ gchar *ret;
+
+ ret = g_strdup_printf ("<th>%s</th>",
+ gdaex_grid_column_get_title (column));
+
+ return ret;
+}
+
/* PRIVATE */
static void
gdaex_grid_column_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
GtkTreeViewColumn *gdaex_grid_column_get_column (GdaExGridColumn *column);
+gchar *gdaex_grid_html_column_get_header (GdaExGridColumn *column);
+
G_END_DECLS