There is not documentation on how to use the onFocus prop on the native Vue input component.
https://www.telerik.com/kendo-vue-ui/components/inputs/api/InputProps/
I have tried binding a function to the prop but it doesn't not seem to be running. Could you update your documentation to provide an example on how to use this?
This is an example of how I tried it.
https://stackblitz.com/edit/wcvyxe
Hi,
I'm new on the Kendo UI for Vue,
I Have some difficulty when working on in sorting, for some reason the sorting model value always null, I'm using DataSourceRequest model.
API
[HttpGet("grid")]
public IActionResult ListGrid([DataSourceRequest] DataSourceRequest request) {
// My code here
}
Vue
<
kendo-datasource
ref
=
"datasource1"
:transport-read-url
=
"'/api/service/grid'"
:transport-read-data-type
=
"'json'"
:server-paging
=
"true"
:page-size
=
"2"
:schema-data
=
"'data'"
:schema-total
=
"'total'"
:server-filtering
=
"true"
:server-sorting
=
"true"
>
</
kendo-datasource
>
<
kendo-grid
ref
=
"grid"
:data-source-ref
=
"'datasource1'"
:pageable
=
'true'
:sortable
=
"true"
:filterable
=
"true"
:sortable-mode
=
"'multiple'"
:sortable-allow-unsort
=
"true"
:sortable-show-indexes
=
"true"
>
<
kendo-grid-column
title
=
"Name"
field
=
"name"
:filter-search
=
"true"
></
kendo-grid-column
>
<
kendo-grid-column
title
=
"Description"
></
kendo-grid-column
>
<
kendo-grid-column
title
=
"Users"
field
=
"relatedUser"
></
kendo-grid-column
>
<
kendo-grid-column
title
=
"Active"
field
=
"isActive"
:template
=
"activeTemplate"
></
kendo-grid-column
>
<
kendo-grid-column
:template
=
"editbutton"
:width
=
"80"
></
kendo-grid-column
>
</
kendo-grid
>
Please help me,
Best Regards
Passing in a number value will cause the native vue input component to throw a warning in the browser console.
"Invalid prop: type check failed for prop "value". Expected String with value "1", got Number with value 1"
No warning should be thrown when passing a number value as it's considered a valid type in the api documentation.
Also the defaultValue should have the Number type valid as well.
Url of example:
https://stackblitz.com/edit/typescript-nbhffs?embed=1&file=index.html
Might be related to this issue in core
https://github.com/telerik/kendo-ui-core/issues/3843
Plea for help: Our front end guy left, and I've inherited his work :( I like the JS stuff, but I'm no expert.
Our new app has about a 4 megabyte app.js download, even when minified. We've turned on gzip compression on the server, and that gets it down to a bit over a meg, but we had a $1000 bandwidth overage last month!
I've been tasked with seeing if we are including unused code.
So, my question: In the docs I see this:
// As an alternative, you could import only the scripts that are used by the utility:
// import '@progress/kendo-ui/js/kendo.data' // Imports only the DataSource script and its dependencies
import '@progress/kendo-theme-default/dist/all.css'
import { DataSource,
HierarchicalDataSource,
GanttDataSource,
GanttDependencyDataSource,
PivotDataSource,
SchedulerDataSource,
TreeListDataSource,
DataSourceInstaller } from '@progress/kendo-datasource-vue-wrapper'
Vue.use(DataSourceInstaller)
new Vue({
el: '#app',
components: {
DataSource,
HierarchicalDataSource,
GanttDataSource,
GanttDependencyDataSource,
PivotDataSource,
SchedulerDataSource,
TreeListDataSource,
DatasourceInstaller
}
})
I've got about six of these: layout, dateinputs, inputs, dropdowns, dialog, etc.
If I can identify which of the features I need from each I need from each "wrapper", can I cut this down? For instance, I'm sure we don't use gantt charts or pivots above.
Thanks,
Ed Greenberg
Hi,
Is dragging a row from view grid wrapper component available? There's nothing in here
Go to example page for floating label https://www.telerik.com/kendo-vue-ui/components/inputs/floating-labels/
Type 0 into the numerictextbox field.
Notice the floating label comes down and overlaps with the currency value.
Floating label should not be coming down on a non empty value.
I add "duration" field to data source but it throw error "this.duration is not a function...".
So, How can I do this?
Thanks,
Chung