(fieldKey, []);
const columns = Document.GetList(KS.ColumnsKey,
[KS.Title, KS.Data, KS.Author])
let content;
var me = this;
if (this.selectedIndex != -1) {
content = (
{
var doc = children[this.selectedIndex];
var n = doc.GetNumber(KeyStore.NativeWidth, 0);
if (n > 0 && r.entry.width > 0) {
this._parentScaling = r.entry.width / n;
}
})}>
{({ measureRef }) =>
Transform.Identity}//TODO This should probably be an actual transform
Scaling={this._parentScaling}
isTopMost={false}
DocumentView={undefined} ContainingCollectionView={me} />
}
)
} else {
content =
}
return (
{
return (
{
Header: col.Name,
accessor: (doc: Document) => [doc, col],
id: col.Id
})
})}
column={{
...ReactTableDefaults.column,
Cell: this.renderCell
}}
getTrProps={this.getTrProps}
/>
{content}
)
}
}