Our powerful JS Calendar component


Post by tmcuong »

[ANGULAR] Calendar not display html in mode Month

hao 3012-1.jpg
hao 3012-1.jpg (5.48 KiB) Viewed 635 times
hao 3012.jpg
hao 3012.jpg (62.02 KiB) Viewed 635 times

Please see my picture and guide me


Post by mats »

We could not reproduce this issue. To assist you with your question, please provide more details including a runnable test case (as described in our support guidelines).

To get the fastest possible support, provide a simple test case based on our standard examples.


Post by Animal »

We do use the returned value as text, not HTML.

to create DOM, return a DomHelper representation:

html = [{
    tag   : 'span',
    class : 'b-event-name',
    style : {
        color : exitst.color
    },
    text : exist.name
}, {
    tag  : 'span',
    text : d
}];

If you are creating DOM with all kinds of conditional class names and styles and content, this was is much easier and more readable than creating crazy nested template strings.


Post by Animal »

Here's an issue for the bad docs: https://github.com/bryntum/support/issues/3971


Post Reply