Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty rows and columns #13

Closed
Stenfrank opened this issue Jun 30, 2020 · 2 comments
Closed

Empty rows and columns #13

Stenfrank opened this issue Jun 30, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@Stenfrank
Copy link

Do you have examples of how to have empty rows and columns?

@cscan
Copy link
Owner

cscan commented Jun 30, 2020

There is an example in readme:

methods: {
    newRecord () {
        const rec = {
            user: 'nm',
            name: 'Norman Morris',
            phone: '1-222-3333333',
            gender: 'M',
            age: 28,
            birth: '1993-05-16'
        }
        // Call this to new record
        this.$refs.grid.newRecord(rec)
    }
}

Or you could try an empty Object:

this.$refs.grid.newRecord({})

For the add columns, it does not have this feature yet. Thanks

@cscan cscan closed this as completed Jun 30, 2020
@Stenfrank
Copy link
Author

Thanks.

@cscan cscan added the enhancement New feature or request label Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants