<ejs-grid #grid [dataSource]='data'
[pageSettings]='pageSettings'
[allowSorting]="true"
[allowGrouping]="true"
[allowSelection]="true"
[selectionSettings]="selectOptions"
[gridLines]='gridLines'
[allowTextWrap]='textWrap'
[height]= 'height'
[width]= 'width'
[toolbar]= 'toolbar'
[allowFiltering]= 'true'
[filterSettings]= 'filterOptions'
[groupSettings]= 'groupOptions'
[editSettings]= 'editSettings'
(actionBegin)= 'actionBegin($event)'
(actionComplete)='actionComplete($event)'
allowResizing='true'
allowPaging= 'true'
rowHeight='39'
height='400'>
<ejs-contextmenu id='contextmenu' target='#target' [items]='menuItems'>
<e-columns>
<e-column field='jobTypeId' headerText='Job Type' textAlign='left' width=25></e-column>
<e-column field='crewId' headerText='Crew' textAlign='left' width=15></e-column>
<e-column field='jobPriority' headerText='Job Priority' textAlign='left' width=17></e-column>
<e-column field='referenceNumber' headerText='Reference' textAlign='left' isPrimaryKey='true' width=20></e-column>
<e-column field='jobAddress' headerText='Job Address' textAlign='left' width=40></e-column>
<e-column field='jobDescription' headerText='Job Description' textAlign='left' width=40></e-column>
<e-column field='startOn' headerText='Start On' textAlign='left' width=20 editType='datepickeredit'></e-column>
<e-column field='finishBy' headerText='Finish By' textAlign='left' width=20 editType='datepickeredit'></e-column>
</e-columns>
</ejs-contextmenu>
</ejs-grid>