-
Notifications
You must be signed in to change notification settings - Fork 30
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
Edit Getting Started with JS and Options API #601
Conversation
|
||
## Add a Vue Data Grid Component | ||
|
||
Now that you've installed all required packages, you are ready to add the Kendo UI for Vue Data Grid to the application: | ||
|
||
1. In the `src/App.vue` file, add a `<script>` block and import the Grid and its data: | ||
1. In the `<script>` block of the `src/App.vue` file, import the Grid and its data. In addition, the `process` function from the [Data Query](https://www.telerik.com/kendo-vue-ui/components/dataquery/) package will allow you to use data operations like sorting, paging, and filtering. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is better to say will allow you to apply data operations like sorting, paging, and filtering instead of will allow you to use
- Set the page size (`take`) to `10` to define how many items are rendered on each page. | ||
- Set the initial `skip` value, which allows the Grid to calculate how many items to skip when paging. | ||
- Set the initial sorting by product name. | ||
- Initialize the `dataResult` empty array, which returns the results from the sorting and paging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the dataResult
doesn't really return the results from sorting and paging, it rather holds them.
No description provided.