I want to show/hide widgetcolumn of a grid with a property of my record.
I tried to do that with binding my value :
{
xtype: 'grid',
bind: {
store: 'ActionList'
},
border: true,
flex: 2,
name: 'actionList',
title: this.titleActionGrid,
columns: [{
xtype: 'widgetcolumn',
height: 50,
width: 65,
widget: {
xtype: 'button',
text: '{sActionTitle}',
scale: 'large',
height: 45,
width: 45,
margin: 5
},
bind: {
hidden: '{bIsHidden}'
}
}]
}
that didn't work so i search on internet and i find this fiddle : https://fiddle.sencha.com/#view/editor&fiddle/22rl
So i tried it with this part of code :
cell: {
tools: {
up: {
bind: {
hidden: '{record.bIsHidden}'
}
}
}
}
But that didn't work, in fact the fiddle was on Modern and my code on classic..
I didn't find anything else and this is why i'm here, imploiring anyone to help me ;)
Thanks you by advance.
ExtJS Classic 6.5.3