I'm trying to hide a FormItem and some other widgets when the FormItem's value is null using the showIfCondition.
I set a breakpoint in FormItemIfFunction.execute() and it stops there after calling ValuesManager.fetchData() but the value argument passed to execute() is always null (also, item.getValue() is null) even if there's actually a value shown if I don't set the showIfCondition.
The documentation for showIfCondition says it does the check when the FormItem gets drawn or redrawn but even if I call redraw() on the FormItem, it still doesn't execute the ShowIfCondition. When does the showIf condition get executed?
Using SmartGWT 9-28-10 nightly (schedule doesn't permit updating yet) on IE7.
I set a breakpoint in FormItemIfFunction.execute() and it stops there after calling ValuesManager.fetchData() but the value argument passed to execute() is always null (also, item.getValue() is null) even if there's actually a value shown if I don't set the showIfCondition.
The documentation for showIfCondition says it does the check when the FormItem gets drawn or redrawn but even if I call redraw() on the FormItem, it still doesn't execute the ShowIfCondition. When does the showIf condition get executed?
Using SmartGWT 9-28-10 nightly (schedule doesn't permit updating yet) on IE7.
Comment