Hello Vignesh,
By using your code, I have replicate the issue:
import { enableRipple } from '@syncfusion/ej2-base';
enableRipple(true);
import { Grid, Selection } from '@syncfusion/ej2-grids';
import { Query, DataManager } from '@syncfusion/ej2-data';
import { orderData } from './data-source';
Grid.Inject(Selection);
/**
* Default Grid sample
*/
function datobound(args: any): void {
console.log('datobound is triggered');
}
let data: Object = new DataManager(orderData as JSON[]).executeLocal(
new Query().take(15)
);
let grid: Grid = new Grid({
columns: [
{
field: 'OrderID',
headerText: 'Order ID',
width: 120,
textAlign: 'Right'
},
{ field: 'CustomerName', headerText: 'Customer Name', width: 150 },
{
field: 'OrderDate',
headerText: 'Order Date',
width: 130,
format: 'yMd',
textAlign: 'Right'
},
{ field: 'Freight', width: 120, format: 'C2', textAlign: 'Right' },
{
field: 'ShippedDate',
headerText: 'Shipped Date',
width: 140,
format: 'yMd',
textAlign: 'Right'
},
{ field: 'ShipCountry', headerText: 'Ship Country', width: 150 }
],
dataBound: datobound
});
loadGrid();
function loadGrid(){
grid.appendTo('#Grid');
grid.dataSource = data;
}