Can you add an empty column in the row header?

Asked by Vincent
1 years ago.

It seems like leaving the display value to an empty string still forces the column to display the ID. Is there a way to have a column with no display, I just want to use it to display icons/areas?

Answer posted by Dan Letecky [DayPilot]
1 years ago.

To show an empty column, just omit the display property from the rowHeaderColumns array items.

However, the first column will display the name of the resource even if you don’t specify the display property.

To clear the content, you can use the onBeforeRowHeaderRender event:

onBeforeRowHeaderRender: args => {
  args.row.columns[0].html = "";
  // ...
}

This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.