onepack Reply #1, 1 year, 1 month ago
I have an module CMP page with items that can be set on active or inactive by clicking the checkbox. This can be done while creating or in the overview page.
The checkbox renders fine in the create modular window but in the overview it only renders as the value 1 or 0.
When I update an item it renders as a checkbox and when I'm finished updating it renders as the value true...
This is the code used to display the checkbox.
What to do to show the checkbox in the correct way?
Where can I find examples or documentation on this?
Thank you so much for the reply!!
The checkbox renders fine in the create modular window but in the overview it only renders as the value 1 or 0.
When I update an item it renders as a checkbox and when I'm finished updating it renders as the value true...
This is the code used to display the checkbox.
{
header: _('bcontrol.active')
,dataIndex: 'active'
,sortable: false
,width: 30
,editor: { xtype: 'checkbox' }
}
What to do to show the checkbox in the correct way?
Where can I find examples or documentation on this?
Thank you so much for the reply!!