kogrid
Ko grid +showing column conditionally
data-bind="koGrid: { data: ViewModel.statistics, columnDefs: [ { displayName: 'Name', field: 'toName', sortable: true, headerTemplate: 'TmplStatsHeader', headerClass: 'left15 ' }, { displayName: 'Email', field: 'email', sortable: true, headerTemplate: 'TmplStatsHeader', headerClass: 'left30 ' }, ], I have a ko grid my column definition is above I have to show Email (second column) only based on some condition.
You have to use Cell Template to change/show the cell value based on other property.
Related Links
How to restrict max rows selected to 25 in kogrid (multi selection enabled)
Why do my koGrid columns go super wide when trying to make it narrower, then you can't drag it back
Ko grid +showing column conditionally