JavaScript API Reference/Ab.timeline.Model object

allTimeslotsAvailable(row, columnStart, columnEnd, ignoreExistingEvents)

Return true if all specified timeslots are available, false if at least one timeslot is not available.

Parameters:

  • row (integer): 0-based resource row index;
  • columnStart (integer): 0-based time-mark column index (inclusive);
  • columnEnd (integer): 0-based time-mark column index (inclusive);
  • ignoreExistingEvents (boolean): (optional) if set to true, timeslots that are already occupied by existing events and their pre/post blocks, are still considered available;