Our pure JavaScript Scheduler component


Post by Aniket »

Team,

is it possible to have a tooltip on resource column value or extra column I have added

Pls see attached screenshot

Attachments
tooltipresource.png
tooltipresource.png (41.03 KiB) Viewed 1146 times

Post by arcady »


Post by Aniket »

Arcady,

I used the cellTooltipFeature = true in angular wrapper but no effect

I am using 3.1.9 in my angular application


Post by arcady »

That is strange since the feature is definitely there in scheduler v3.1.9.


Post by arcady »

BTW I don't think that value true should show anything. Try providing a function that returns tooltip text like this:

cellTooltipFeature : ({value}) => value,

Post by Aniket »

No Arcady doesnt help...


Post by saki »

I have made it working in our Angular Basic demo by following:

  1. Edit schedulerConfig to add:

    export default {
        // other members
        cellTooltipFeature : ({ record, column }) => `Resource name is: ${record[column.field]}`
    };
  2. Edit app.component.html to add:

    <bry-scheduler
        ...
        [cellTooltipFeature] = "schedulerConfig.cellTooltipFeature"
    ></bry-scheduler>

Post Reply