I'm using vuejs.
I've got a chart with a tooltip:
import { bytes } from '...fileBytesIsIn'
get tooltip () {
const sharedTemplate = `<table class="tooltip-table" width="150">
// removed header to save space
# for (var i = 0; i < points.length; i++) { #
<tr>
<td><div class="swatch #: points[i].series.class#"> </span></td>
<td class="name" nowrap>#: points[i].series.name#</td>
<td class="val">#: bytes(points[i].value) #</td>
</tr>
# } #
</table>`
return {
visible: true,
shared: true,
template: '#= value #',
sharedTemplate: sharedTemplate
}
}
#: points[i].value | bytes #
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
Hello,
Is there a solution for a filtered column in a grid based on column filter or an external filter to change its color to show to the user that it has been filtered with something?
I try to implement it myself and I fall short to understand all the possible subcases that occur. Is there a ready solution or could someone suggest me how to do it?
Thanks
I'm trying to have the Kendo DropDownList wrapper component expand to the viewport height so that there's a maximum amount of items on screen without having a scrollbar on <body>
I'm currently trying it with this approach but I'm wondering if there's a better way:
The main downside of this approach is that it relies on setting the 'height' prop to a number that is larger than the data source would take up when fully rendered. In this case a height of 999px won't work, while a height of 9999px will work. So when I set the height to 9999px I get the desired result but it feels hacky and I'm wondering if there's a better way.
I have started using the new Vue Native DropDownList and found a few issues when it is used inside a popup (bootstrap-vue modal).
The dropdown list will not display. I can make it display by adding:
.k-animation-container {
z-index: 100000;
}
Now it displays but clicking out side the dropped down list will not close it.
Wayne
Shouldn't I be able to pass option attributes to a Grid (Any widget) without binding?
<kendo-grid>
server-filtering,
server-paging,
etc
</kendo-grid>
Also the Column filterable attribute is generating a warning when I pass it an object (Says Boolean only). Can you please add Object to the filterable prop.
How can I bind a kendo multiselect to a list of objects? The v-model binding only returns an array with the values of data-value-field.
<
kendo-multiselect
id
=
"employees"
v-model
=
"selectedEmployees"
:data-source
=
"employeesDataSource"
:data-text-field
=
"'name'"
:data-value-field
=
"'employeeNumber'"
:delay
=
"1000"
:auto-bind
=
"true"
:min-length
=
"2"
>
</
kendo-multiselect
>
In the example above selectedEmployees will be set to an array of employee numbers instead of employee objects. How can I get it so work with objects instead?
Hi,
I'm trying to translate the filter menu of the Grid.
the instructions on page:
https://www.telerik.com/kendo-vue-ui/components/grid/api/FilterableProps/
seems clear.
But if I put by example:
<kendo-grid ref="grid" :data-source-ref="'datasource1'" :pageable='true' :sortable="true" :filterable="true" :selectable="true"
:filterable-messages-clear="'Reimposta'"
The text of the relative button is always "clear".
Any suggestions?
Thank's in advance!