cancel
Showing results for 
Search instead for 
Did you mean: 

widgetUtils

stuartonmaui
Champ in-the-making
Champ in-the-making
I am using widget Utils in 5.0.d to reach rows in a list (preloaded by setting currentData) and change visibility using alfVisible(). I have seen many examples, specifically widgetUtils.findObject(model.jsonModel.widgets… ,"id","SUBCAT_ROW" ); The list should have many rows with this id and I need to examine fields to determine if the row should be visible or not. I think I am looking for an array of widgets to be returned from widgetUtils.find… but I can't seem to find documentation for widgetUtils anywhere, only a wide range of examples. It may help to know that the specific case is: If a checkbox is cleared, only rows with chidren[1..nchildren-1] that have at least one cell with an entry are to be visible. I looked at rules but could not see how to use them in this case.
2 REPLIES 2

stuartonmaui
Champ in-the-making
Champ in-the-making
I managed to get the rules I needed. The key was from the Dojo,Dijit,Aikau Deep Dive, then verifying that VisibilityConfig is in the base form control.

But I would still Like to find documentation on widjetUtils. I still cannot find it.

ddraper
World-Class Innovator
World-Class Innovator
As far as I know, there current is no official documentation on it.