Currently if a user is about to hide all fields in a ListGrid, the last field to be hidden will be disabled in the context menu.
However, if one of the fields in a ListGrid has showDefaultContextMenu set to false, once every other fields are hidden, we don't have a way to show those fields again.
Should the behavior be, the last showing field with showDefaultContextMenu set to true should be disabled in the context menu?
The following code is taken from the demo site.
SmartClient Version: "v8.3p_2013-06-04/LGPL Development Only"
However, if one of the fields in a ListGrid has showDefaultContextMenu set to false, once every other fields are hidden, we don't have a way to show those fields again.
Should the behavior be, the last showing field with showDefaultContextMenu set to true should be disabled in the context menu?
The following code is taken from the demo site.
Code:
isc.ListGrid.create({
ID: "countryList",
width:500, height:224, alternateRecordStyles:true,
fields:[
{name:"countryCode", title:"Code"},
{name:"countryName", title:"Country"},
{name:"independence", title:"Nationhood", type:"date"},
{name:"population", title:"Population", type:"integer"},
{name:"gdp", title:"GDP", type:"float", showDefaultContextMenu: false}
],
data: countryData
})