Docs
API
  • get([rowIndex: Number], [dataIndex: 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: Getting data items models

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

    Example: Getting data item

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

    Example: Getting data item value

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

    See also

    Method getById
    Method getRowById