Перейти к основному содержимому

grid_header_class

Description

Задает CSS класс, который будет применяться к заголовкам столбцов таблицы

grid_header_class: (columnName: string, column: any) => string | void;

Parameters

  • columnName - (required) string - имя столбца (как указано в свойстве "name" объекта столбца)
  • column - (required) object - объект столбца (как указано в конфигурации gantt.config.columns)

Returns

  • text - (string | void) - CSS класс для соответствующего элемента

Example

gantt.templates.grid_header_class = function(columnName, column){
return "";
};
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.