import { ColDef , GridOptions } from '@ag-grid-community/core' ; const columnDefs = [ { field : 'accented' , width : 150 } ] ; const gridOptions = { defaultColDef : { sortable : true , } , columnDefs : columnDefs , animateRows : true , sortingOrder : [ 'desc' , 'asc' , null ] , accentedSort : true , rowData : [ { accented : 'aáàä' } , { accented : 'aàáä' } , { accented : 'aäàá' } ] , } ; document . addEventListener ( 'DOMContentLoaded' , function ( ) { var gridDiv = document . querySelector ( '#myGrid' ) ; new agGrid . Grid ( gridDiv , gridOptions ) ; } ) ;