<GridComponent dataSource={data}
allowSorting={true} sortSettings={{ columns: [{ field: 'name', direction: 'Ascending' }] }}
allowPaging={true} pageSettings={{ pageSize: 8 }}
allowFiltering={true} filterSettings={{ type: 'Menu' }}
allowSelection={false} allowTextWrap={true}>
<ColumnsDirective>
<ColumnDirective field='preset' width='50px' headerText=''
template={(xyz: XYZ) => xyz.preset
? <span className='e-icons e-lock-icon'></span>
: null} />
<ColumnDirective field='name' width='200px' headerText='Name' />
<ColumnDirective field='description' width='400px' headerText='Description' />
<ColumnDirective template={templateWith2Buttons} width='350px' headerText='Actions' />
</ColumnsDirective>
<Inject services={[Page, Sort, Filter, Resize]} />
</GridComponent>