Tommy,
I think it would be quite useful to support table captions like HTML
tables do. Currently, I have to alter the HTML so that it looks
like this:
Dear Natan,
Thanks for your suggestion.
In fact there is a "Title" property in the Table class but it can't work well. What I do to add a caption or title to table is just add a paragraph before the table. What do you mean by "it won't get the table's styles"?
Tommy,
I didn’t notice the Title property before. If I set the Title
property, will it render the title outside the table like a caption?
In reference to “getting the table’s styles”, a class applied to a table will cascade down to the caption. For example:
In order to render a table caption, I have to manually move the line of HTML outside the table so that it renders a text paragraph before it sees the table. Then I have to copy the table's class to make sure it looks the way a web browser would display it. For example, I convert the code above into:
This is the caption.
This is a hassle and it would be better if your component made it easier to render captions.
Thanks, Natan
Thanks for the detailed info. I will consider this issue. If you set
If you assign the following class to the
Thanks for your detailed info. I will consider supporting this next month.