-
Ok, I am using this code:
this["column"]["header"].createTextField('name',2,0,0,allWidths[i],100);
this["column"]["header"].myTextFormat = new TextFormat();
this["column"]["header"].myTextFormat.bold = true;
this["column"]["header"].name.setTextFormat(myTextFormat);
this["column"]["header"].name.text = 'Patient';
this["column"]["header"].name.align = 'center';
this["column"]["header"].name.text = allCols[i];
This doesn't work. My text is not bold and is not centered. Can anyone help me and let me know why? It's like the TextFormat isn't assigned right. Please help - thanks!
-
[Devil in DarkGreen]
Code:
this["column"]["header"].createTextField('name',2,0,0,allWidths,100);
this["column"]["header"].name.text = 'Patient';
this["column"]["header"].name.align = 'center';
this["column"]["header"].name.text = allCols;
this["column"]["header"].myTextFormat = new TextFormat();
this["column"]["header"].myTextFormat.bold = true;
this["column"]["header"].name.setNewTextFormat(myTextFormat);
DS
-
I tried that code - still doesn't work
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|