To re-create start with the following example:
http://www.smartclient.com/#dataSourceFields
Go to the 'countryDS' and modify one of the fields to have showIf:"false", for example:
Hit 'try it' and it will auto-select the 'view tab'.
Right-click any of the column headers and choose 'Columns'
Click on the hidden column name to reveal it. This will work and a check mark will appear.
Without closing the context menu, click on the column name again to hide it. This will work and the check mark and column will disappear.
Finally click on the column name a third time. This will not work. Seemingly it won't produce a JavaScript error, but nor will the column appear, nor will the tick mark appear.
I've tested this in version: SmartClient_v101p_2016-03-03_PowerEdition, too on OSX and Win8/10 on various browsers, but mostly Chrome.
It seems to be a regression, as it has worked as expected in the past.
http://www.smartclient.com/#dataSourceFields
Go to the 'countryDS' and modify one of the fields to have showIf:"false", for example:
Code:
{name:"countryCode", title:"Code", showIf:"false"},
Right-click any of the column headers and choose 'Columns'
Click on the hidden column name to reveal it. This will work and a check mark will appear.
Without closing the context menu, click on the column name again to hide it. This will work and the check mark and column will disappear.
Finally click on the column name a third time. This will not work. Seemingly it won't produce a JavaScript error, but nor will the column appear, nor will the tick mark appear.
I've tested this in version: SmartClient_v101p_2016-03-03_PowerEdition, too on OSX and Win8/10 on various browsers, but mostly Chrome.
It seems to be a regression, as it has worked as expected in the past.
Comment