Added toStringCallback option. Fixed datagrid parameters.