Optimized the dataGrid to fire less unnecessary events

Optimized the dataGrid to fire less unnecessary events

issue A24Group/Triage#2672