I need to use some table styling features likeIWTable.ApplyStyleForFirstColumn andIWTable.ApplyStyleForBandedRows, but with my own color scheme and font settings. How can I do this? I searched for a way to supply my own IWTableStyle, but could not find anything.
Thanks for your help,
P.S.: I misselected the tag for this thread. My question refers of course to DocIO WordDocument generation, not to the PDFViewer.
KCKarthikeyan Chandrasekar Syncfusion Team December 21, 2018 07:19 AM UTC
Currently DocIO doesn’t exposed API to apply conditional formatting for the table. We have already logged this as a feature request in our database. We don’t have any immediate plans to implement this feature. At the planning stage for every release cycle, we review all open features.We will let you know when this feature is implemented.
AGAdrian GrigoreDecember 21, 2018 09:11 AM UTC
thanks for your reply.
So, in this case, what are my options for styling a bunch of tables in a long document in my own corporate color scheme?
The only way I have found so far is to set the style of each cell or row explicitly, but the way I understand it that would duplicate styling information and overly bloat the document.
In other words: It is possible to add my own paragraph style to the document and apply the same style to multiple paragraphs just by referencing the name. Isn't there something similar available for tables?
DBDilli Babu Nandha Gopal Syncfusion Team December 24, 2018 04:58 PM UTC
In Word document, we can define the following conditional formattings within a table style: 1. Whole table 2. Banded columns, even column banding 3. Banded rows, even row banding 4. First row, last row 5. First column, last column 6. Top left, top right, bottom left, bottom right.
We have APIs to set built in styles and the table style options in the Word document. At present, DocIO doesn’t have API to edit the existing table style and to define customer table styles. As mentioned in our previous update, we already considered these scenarios in our feature request and we will let you know once it is implemented.