Fixes datagrid bug;

Signed-off-by: ashwinh <ashwinh@cybage.com>