[DataGrid] Added base-where condition as option to enable complex data-grid queries. (Useful for versioning)