[]
        
(Showing Draft Content)

C1.LiveLinq.LiveViews.ViewRowCollection.CreateRow

CreateRow Method

CreateRow()

Creates a new item directly in the view, and a view row associated with it, and adds it to the ViewRowCollection.

Declaration
public ViewRow CreateRow()
Returns
Type Description
ViewRow

The newly created view row.

Remarks

Creating a new row is an update operation on the view. As any other update operation performed directly on the view (as opposed to on the base data collection on which that view depends, see AsUpdatable<T>(View<T>)), it is allowed only if the view is not read-only (see IsReadOnly), and it results in updating (in this case, adding a new item to) one of the view's base data collections.