Hi,
Is it possible to change the font properties (text color, bold, size...) in the form reports ?
I see it is possible to apply html format in a DialogTemplate text:
var userDialog = Dialogs.createNewDialogTemplate (1000, 430, "Title");
userDialog.Text (560, 35, 100, 15, "<b>Table: </b>");
userDialog.Text (560, 35, 100, 15, "<font color=\"red\">Table: </font>");
but I can't find the way to do the same or similar for list items (tables, DropListBox...), I have this code:
var userDialog = Dialogs.createNewDialogTemplate (1000, 430, "Title");
userDialog.Table (560, 55, 435, 340, ["Column 1", "Column 2"], [Constants.TABLECOLUMN_SINGLELINE, Constants.TABLECOLUMN_SINGLELINE], [40, 60] , "TBL_ID1", Constants.TABLE_STYLE_DEFAULT);
// putting the content in the table
var tblContent = [["foo1", "foo2"], ["foo10", "foo11"]];
this.dialog.getPage(0).getDialogElement("TBL_ID1").setItems( tblContent );
Any ideas ¿?
Many thanks.