Hello,
Like the title says i am trying to show tooltip only on rows that exist in my array. I have a kendo grid with a checkbox, whichever checkbox the user clicks on i am storing that row in my $ctr.selectedRows[];
The example i have below, the tooltip shows up on all rows when they go back to their selection grid. I am either missing something, doing this wrong, or both.
$("#grid").kendoTooltip({
show: function(e){
$ctr.selectedRows.forEach((element) => {
this.content.parent().css("visibility", "visible");
})
},
hide:function(e){
this.content.parent().css("visibility", "hidden");
},
filter: "td:nth-child(1)", //this filter selects the first column cells
position: "center",
content: function(e){
var dataItem = $("#grid").data("kendoGrid").dataItem(e.target.closest("tr"));
var content = "Currently we have " + dataItem.UnitsInStock + " " + dataItem.ProductName +"in stock";
return content;
}
}).data("kendoTooltip");
Hi,
I've updated several items within two of the column fields in my kendo grid. Of course, the data is pulled from a DB via a stored procedure in Entity Framework.
I am using the multi - true and search - true attributes for the filterable option in my grid. The new values are there; however, when I select a value, it does not filter. If I use just filterable: true without the multi feature, it does in fact filter.
I've tried to to reset using the setDataSource method and numerous other methods. Is there a way to reset or perhaps clear the old values.
Thank you
$grid.kendoGrid({
dataSource: dsPeople,
scrollable: { virtual: true },
height: 600,
resizable: true,
selectable: "row",
pageable: true,
dataBound: function(e) {
$("#grid").find("tr").kendoTooltip({
content: People.GetPerson(e.data.Xref, 6012, '127.0.0.1', 'netname'),
width: 680,
height: 120,
position: "bottom",
});
},
columns: [
{ field: "FullName", title: "Name", groupable: false, resizable: true },
{ field: "StreetAddress", title: "Address", groupable: false, resizable: true },
{ field: "Sex", title: "S", groupable: true, resizable: false, width: 30 },
{ field: "Race", title: "R", groupable: true, resizable: false, width: 30 },
{ field: "Height", title: "Ht", groupable: false, resizable: false, width: 40 },
{ field: "Weight", title: "Wt", groupable: false, resizable: false, width: 40 },
{ field: "Age", groupable: true, resizable: false, width: 40 },
{ field: "DOB", groupable: false, resizable: false, format: "{0:MM/dd/yyyy}", width: 90 },
{ field: "Xref", title: "XREF", groupable: false, resizable: true, width: 70 }
],
mobile: true
});
Hello!
I'm struggling with a problem when I am trying to build a chart with data, somehow the line doesn't overlap.
Of course I am using the stack function as false by default ($seriesDefaults = new \Kendo\Dataviz\UI\ChartSeriesDefaults();
$seriesDefaults->type($chartType)->stack(false)), but I see no difference.
Here is the data which I am using to fill the chart.
I think I miss something.
Any suggestion will help.
Thank you!
Regards,
Alexandru - Paul
Can someone help me - try as I might I am unable to get the current visible date range displayed on the MultiViewCalendar.
I am clearly missing something but have been over the doco and can not find this.
Our application needs to load data based on the current range of dates visible.
I have it in month with 2 views so need to know the first date and last date of the display range.
I am sorry as I am sure this is super easy.
Thanks in advance.
Is there a way to assign an ID to a selectable column? Using Test Studio, it is a real challenge without writing code, to identify which columns was clicked as when you have multiple rows, they all have no ID (or any other way to identify them). Having an ID would fix that and if these columns would actually allow a template - which it seems they do not - we could do other nice things, icluding IDs
Matt
Hi,
I think there is a bug on Gantt widget that occurs depending either on screen size/resolution or chrome zoom level.
I got bug reported on my module which uses gantt widget. Client reported that on some of their screens rows on the left side are misaligned with rows on timeline.
After investigation, I managed to reproduce issue by scaling zoom on Chrome, to 90%. (they have bigger and probably better screens than mine, so it wasn't shown on my system).
Same issue is reproducible on https://demos.telerik.com/kendo-ui/gantt/resources, if you resize gantt zoom to 90%. (I also attached image from demo)
I also looked though to find possible solution, and it seems that if we replace current fixed font-size: 14px, with font-size:1.5vh it seems to scale correctly.
Please could you take a look and suggest solution (I would prefer to avoid overriding native css of the widget).
Thank you and best regards,
Vedad
As posted on stack overflow ...
https://stackoverflow.com/questions/61956516/how-to-apply-complex-odata-filters-programatically-with-kendo-data-sources
I have a kendo data source that's bound an OData v4 endpoint.
I need to apply something like this filter to it ...
LINQ query:
ds.data().Where(i => i.References.Any(r => r.OfferLines.Any(l => l.OfferId == "myOfferId"))
OData query:
?$filter=References/any(r:r/OfferLines/any(l:l/OfferId eq 'myOfferId'))
How can i do this "after my grid has been initialised" programatically (with javascript)?
hello,
i used ddl with taghelper
<kendo-dropdownlist for="EmlakBinaBeyan.YeniBinaIndirimiUygulandiMi"
bind-to="Html.GetEnumSelectList(typeof(EvetHayirEnum))"
readonly="readonly"
class="form-control form-control-sm"
style="width:100%">
</kendo-dropdownlist>
this generate ID with comma.
<input data-val="true" data-val-required="The KisitlilikVarMi field is required." id="EmlakBinaBeyan.KisitlilikVarMi" name="EmlakBinaBeyan.KisitlilikVarMi" type="text" value="0" data-role="dropdownlist" style="display: none;">
but i used ddl with html helper, also same code
@(Html.Kendo().TextBoxFor(x => x.EmlakBinaBeyan.ArsaNetM2).HtmlAttributes(new { @class = "form-control form-control-sm text-lg-left text-muted", @readonly = "readonly" }))
this generate ID with underline
<input type="text" data-val="true" data-val-required="The KisitlilikVarMi field is required." id="EmlakBinaBeyan_KisitlilikVarMi" name="EmlakBinaBeyan.KisitlilikVarMi" value="Hayir" data-role="dropdownlist" style="display: none;">
so, same code tag helper and html helper generate different Id. I want take value with jquery selector, i cant take value with taghelper, but i can take value with html helper .
var dropdownlist22 = $("#EmlakBinaBeyan_KisitlilikVarMi").data("kendoDropDownList");
why generated different Id ?
Best Regards.