Originally Posted 28 August 2017, 9:24 am ESTI have added a ng-template for the RowHeaders like this:
<pre><code>wj-flex-grid #gasolineGrid [allowAddNew]="false">
<ng-template wjFlexGridCellTemplate [cellType]="'RowHeader'" let-cell="cell">
There are two things:
-When adding [allowAddNew] to true, produces an error because of the last row is empty with out the "Start" and "End" value, I removed the allowAddNew and works well. But how can I have the option and the custom row header.
-With RowDetail I have to add a Second column to the row headers because the "plus" icon in the RowHeader overlap the RowHeader values. How can I configure this?
Another thing. Is there a way to configure the ng-template by code in my component and not in the html?