How to provide the list of columns to show but hide the greyed-out sort options in the Column header menu of a Unibdgrid?
Thanks
Hi,
One possible solution, can you try this ?!:
UniDBGrid -> ClientEvents -> ExtEvents -> function reconfigure:
function reconfigure(sender, store, columns, oldStore, oldColumns, eOpts)
{
sender.headerCt.getMenu().items.each(
function(item){
if (item.itemId != 'columnItem') item.hide()
}
);
}
Best regards,