SmartGWT 4.0p
showIf only works when the field is initially visible, i.e. showIf has to return true on the first call. It appears that when I call setFields on DetailViewer, it immediately computes which set of fields should be visible and only use those fields from then on. That's not the expected behavior because I expect showIf to be only invoked when it's trying to render the data.
showIf only works when the field is initially visible, i.e. showIf has to return true on the first call. It appears that when I call setFields on DetailViewer, it immediately computes which set of fields should be visible and only use those fields from then on. That's not the expected behavior because I expect showIf to be only invoked when it's trying to render the data.
Comment