Enhances resource calendar support
Improves resource calendar mode by passing resource data to the grid manager for rendering, enabling specific resource-based views. Also, it stores raw event data to improve data management.
This commit is contained in:
parent
b111f121ba
commit
0b46f68ac1
3 changed files with 28 additions and 2 deletions
|
|
@ -114,6 +114,14 @@ export class GridManager {
|
|||
this.setupGridInteractions();
|
||||
}
|
||||
|
||||
/**
|
||||
* Set resource data for resource calendar mode
|
||||
*/
|
||||
public setResourceData(resourceData: ResourceCalendarData | null): void {
|
||||
this.resourceData = resourceData;
|
||||
console.log('GridManager: Set resource data:', resourceData ? `${resourceData.resources.length} resources` : 'null');
|
||||
}
|
||||
|
||||
/**
|
||||
* Render the complete grid structure - now returns Promise for direct calls
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue