mirror of https://github.com/abpframework/abp.git
Browse Source
The implicit DisplayTemplate context caused the Razor source generator to compile 'context.Item as IHasExtraProperties' into 'context as IHasExtraProperties' (dropping the .Item access). Since CellDisplayContext<TItem> itself does not implement IHasExtraProperties, the cast was always null and the cell rendered empty. Renaming the context with Context="rowContext" produces the correct 'rowContext.Item as IHasExtraProperties' codegen and the cell now shows the property value.pull/25480/head
1 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue