Docs
API
  • get([rowIndex: Number], [key: String]): Model/Mixed


    If params are empty than returns array of data items(Models).

    If only rowIndex is defined than returns data item(Model) at rowIndex.

    If both rowIndex and key are defined than returns data item key value(Mixed) at rowIndex.


    Example: get data items models

    
    grid.get();//return array of items:Models
    

    Example: get data item

    
    grid.get(10);//return data item: Model
    

    Example: get data item value

    
    grid.get(10, 'age');//return data item key value.