Skip to content

Commit

Permalink
Fix incorrect capitalization of colkey property.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsuryd committed Apr 13, 2019
1 parent 38c2746 commit 5fba85c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DevApp/client/app/views/display/DisplayDataGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const MyApp = _ => (
Selected contact email: <d-element id="SelectedEmail" />
</d-alert>
<d-data-grid id="Contacts"${props}>
<d-grid-column colKey="LastVisit" width="13rem"
<d-grid-column colkey="LastVisit" width="13rem"
formatter="props => new Date(props.value).toLocaleString()"
/>
</d-data-grid>
Expand Down
2 changes: 1 addition & 1 deletion DevApp/src/dotnetify-elements/display/DataGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export class DataGrid extends Element {
let key = colKey || gridCol.key;
if (gridCol.type == 'd-grid-column') {
formatter = WebComponentHelper._parseFunctionString(formatter);
key = colkey;
key = colKey;
}

let col = {
Expand Down

0 comments on commit 5fba85c

Please sign in to comment.