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
1 month 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 month 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.