JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Gantt Cannot Customise Month and Year in Column Header

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #110734
    Varshitha Yerukonda
    Participant

    Hi Team,

    Currently we cannot give different styles for Month and Year in the header.Can we have different divs and different classes for both Month and Year so that we can customise the font accordingly.

    Here is the Html for header:

    <div class=”smart-timeline-view-cell” role=”columnheader” style=”left: 1645.71px; width: 797.143px;”><div>July 2024</div></div>

    Thanks,

    Y.Varshitha

    #110735
    ivanpeevski
    Participant

    Hi Y.Varshitha,

     

    You can select the different cells in the following way:

    .smart-timeline-view-details .smart-timeline-view-cell <- for year

    .smart-timeline-view-cells .smart-timeline-view-cell <- for month

     

    Best Regards,
    Ivan Peevski
    Smart UI Team
    https://www.htmlelements.com/</span>

    #110736
    Varshitha Yerukonda
    Participant

    Hi Team,

    The header contains”Month Followed by year (ex: May 2024)” when we are in month view. Can we style the month and year appropriately in this instance?can we have different div’s and different classes for both Month and Year so that we may customize the font appropriately? Currently, Month and Year have the same div and same class.

    Thanks,

    Varshitha

    #110950
    admin
    Keymaster

    Hi,

    You can refer to https://www.htmlelements.com/demos/gantt/view/. The sample demonstrates the supported views by the gantt chart.

    Best Regards,
    Markov

    Smart UI Team
    https://www.htmlelements.com/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.