search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Can you add an empty column in the row header?

Asked by Vincent
3 months 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]
3 months 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 months old and has been closed. Please create a new question if you have anything to add.