Version

add Method

Creates and adds a row to the collection.
Syntax
ASP.NET Ajax Javascript (Specification) 
function add( 
   cellValues : {Any}[]
) : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfGridRowCollection.add({Any}[]);

Parameters

cellValues
Array of the new row values, i.e. ["ALFKI", "John", 30]. Or a JSON-notation object with { column-key : cell-value } pairs; example: { "ID": "ALFKI", "FirstName": "John", "Age": 30 }.
See Also