Premium support for our pure JavaScript UI components


Post by anacoda »

I'd like to remove some information displayed on a resource when a user collapses, to make that row thinner.
How can I check the resources' collapsed state from the column renderer? The collapse functionality is being provided by a column of type "resourceCollapse"

Thank you,
Ana


Post by mats »

Docs:

/**
 * A column toggling the resource {@link Scheduler.model.ResourceModel#field-eventLayout} between `none` and `stack`.
 *

So simple read the 'eventLayout' field of the resource in your column renderer.


Post Reply