Posted 14 September 2017, 11:48 am EST
Hi, I have searched the forum for a way to display multiple lines text within a cell for a specific column. The closest thread I found was this http://wijmo.com/topic/flexgrid-multiline-word-wrapping/
I thought my solution of using cssClass might work but it doesn’t. Am I using it wrong?
I have replaced the back ticks with single quotes so it would display correctly.
@Component({ selector: 'app-rules', template: ' <wj-flex-grid #grid [itemsSource]="applicationRules" headersVisibility="Column" selectionMode="Row"> <wj-flex-grid-column [header]="script" binding="script" width="1*" [isReadOnly]="true" cssClass="application-script"> </wj-flex-grid-column> </wj-flex-grid> ', //language=CSS styles: [ ' :host >>> .application-script { white-space: pre; max-height: 100px; overflow: hidden; text-overflow: ellipsis; } ' ] })