# grid

This is an example of creating a reusable grid component and using it with external data.

Tags

version: 1.0.5
author: Rafael
since: Version 1.0.1

# Table of contents

# Props

# msg (string|number)

Tags

version: 1.0.5
since: Version 1.0.1
see: See Wikipedia for a list of color names
link: See Wikipedia for a list of color names

type default description
string|number text object/array defaults should be returned from a factory function

# myF (func)

type default description
func (param, param2) => {} Function

# v-model (string)

Tags

model: true

type default description
string - Model example

# data (array)

Tags

version: 1.0.5

type default description
array - describe data

# columns (array)

type default description
array - get columns list

# filterKey (string)

Tags

ignore: true

type default description
string 'example' filter key

# Methods

# sortBy (key: string) -> string

Sets the order

Tags

access: public
version: 1.0.5
since: Version 1.0.1
param: Key to order
returns: Test

# Params

name type description
key string Key to order

# returns (string)

Test

# Slots

Use this slot header

Use this slot footer

# Events

# success (object | string)

Success event.

# Properties

name type description
example object the demo example
exampleStr string the demo example
exampleNum number the demo example