We have noticed a behaviour discrepancy in latest smartgwt vs. our old app. Can't say for 100% sure if we've done anything or if it's changed behaviour between 12 and 13, but we're using the same code.
Anyway, here's the deal:
When we've created a grid, we hide the field with myField.setHidden(true);
In both old and new version, the field does get hidden in the grid.
However, later when we export, the grid behaves differently.
in our old app, getHidden() returns true for the field, and grid.fieldIsVisible(field.getName()) returns false. This is what I'd expect.
However, in 13,
getHidden() now returns null while grid.fieldIsVisible(field.getName()) still returns false.
So, according to the docs, I would expect it to still work as it does in 12? Or have you changed something? In any case, which one should I use to be sure that the value return accurately reflects the visibility of the field in the grid?
Pointers appreciated.
Anyway, here's the deal:
When we've created a grid, we hide the field with myField.setHidden(true);
In both old and new version, the field does get hidden in the grid.
However, later when we export, the grid behaves differently.
in our old app, getHidden() returns true for the field, and grid.fieldIsVisible(field.getName()) returns false. This is what I'd expect.
However, in 13,
getHidden() now returns null while grid.fieldIsVisible(field.getName()) still returns false.
So, according to the docs, I would expect it to still work as it does in 12? Or have you changed something? In any case, which one should I use to be sure that the value return accurately reflects the visibility of the field in the grid?
Pointers appreciated.
Comment