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

Categories

HOME
gpu
rdbms
opendj
database-normalization
pyqt4
zip
vert.x
odoo-8
extjs4.2
syntaxnet
activecollab
x-cart
ipmitool
naivebayes
cumulocity
altera
coin3d
keytool
scsi
aws-sdk
mathprog
fileserver
google-maps-autocomplete
symbols
gulp-watch
event-store
xunit
angularjs-components
nstimer
subclass
sqlpackage
angularjs-material
biztalk-rule-engine
reverse
processwire
apiary.io
git-rewrite-history
google-earth-engine
verifiable-c
health-monitoring
mcustomscrollbar
skylink
flask-login
jquery-ui-draggable
tf
convex-optimization
oracleclient
backbone-collections
otp
monkey
pybrain
objectscript
rmongo
smartfoxserver
microstation
tinkerpop3
delta
cassia
mediametadataretriever
bizagi
fink
grass
jaunt-api
linklabel
opl
tfs-workitem
flock
viola-jones
typeconverter
teamcity-9.1
boost-program-options
ghcjs
addressing-mode
punycode
wcm
mobility
angular-carousel
live555
grails-plugin-rabbitmq
cfcache
notorm
code-duplication
script#
asdf
scmmanager
font-awesome-4.0.0
traceability
onload-event
server-administration
panda3d
jquery-blockui
landscape-portrait
lr
creole
object-database
drupal-fivestar
zend-rest
django-piston
entitykey
dsoframer

Resources

Encrypt Message