JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › Hide column menu button in one column › Reply To: Hide column menu button in one column
July 8, 2022 at 9:15 am
#103354
Keymaster
Hi Rafa,
You can use the column’s showActionButton property for that purpose.
columns: [
{
label: 'First Name', dataField: 'firstName', showActionButton: false
},
{ label: 'Last Name', dataField: 'lastName'},
{ label: 'Product', dataField: 'productName' },
{ label: 'Quantity', dataField: 'quantity', align: 'right', cellsAlign: 'right',},
{ label: 'Unit Price', dataField: 'price', align: 'right', cellsAlign: 'right', cellsFormat: 'c2' },
{ label: 'Total', dataField: 'total', align: 'right', cellsAlign: 'right', cellsFormat: 'c2' }
]
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/