Setup tempdoc for hidewhens

When computing hide-whens on a datagrid, before rendering, formulas are evaluated on a document with no items. 
We know the items and the row's values, so set them as items on the doc before evaluating.
This way, hidewhens (including dynamic hidewhens) are evaluated correctly.