Hi..
Today i tried to add Components to my UIGrid at runtime.
The grid is child of a scrollview (to clip away on scrolling). And the Contents are childrens of the grid.
See:

Now i add content to the grid via Instantiate, set the Grid.transform as Parent, and update the grid via Reposition().
The instantiated contend is scaled up to 240*240*240. But that was solvable with resetting the localScales.
But at runtime, i get this Error:
NullReferenceException: Object reference not set to an instance of an object
UIScrollView.UpdateScrollbars (.UIScrollBar sb, Single contentMin, Single contentMax, Single contentSize, Single viewSize, Boolean inverted) (at Assets/NGUI/Scripts/Interaction/UIScrollView.cs:488)
UIScrollView.UpdateScrollbars (Boolean recalculateBounds) (at Assets/NGUI/Scripts/Interaction/UIScrollView.cs:459)
MainScript+<GetContent>c__Iterator4.MoveNext () (at Assets/Scripts/MainScript.cs:216)
Did i miss something in order to create a dynamic list of objects in a scrollable grid?