I have written a script that create a Notesrichtexttable in a RichText field. The problem is that I can’t find script options to put the borders to 0 and to resize the columns width… Is it possible and how?These options are available once the table is created in the document (by right clicking) so why are they not accessible via script?
Subject: How to customize/format a NotesRichTextTable created by script
You might find that DXL supports more of the features that you need. You could use DXL to do the whole thing, or just to fix the table that you have already created.
Subject: How to customize/format a NotesRichTextTable created by script
You have a few options. One trick which I advocate is setting up the table you want in a resource document, and then copying it in using AppendRTItem rather than appending the table. That allows almost any formatting you want, and you can still add rows and such as you would before.
Another option is DXL, which lets you set attributes you want, although it adds a bit more complexity to the application.
Another option is to use a third party product such as our Midas Rich Text LSX, which lets you set whatever options you like.
The first option is the cheapest and easiest, but is not flexible. The second is the next cheapest, and more flexible, but slow in high performance apps. The third choice costs money, but is the best in high performance apps, or if you need to change an existing table.